Age | Commit message (Expand) | Author |
2021-07-17 | The first think MBR_init() does is memset(0) the gpt header and gpt | Kenneth R Westerback |
2021-07-17 | Nuke a bunch of Capt. Obvious or misleading comments. | Kenneth R Westerback |
2021-07-15 | Nuke unused variable. | Kenneth R Westerback |
2021-07-15 | No need for separate b_sectors, b_offset and b_type variables. We have struct | Kenneth R Westerback |
2021-07-15 | Consolidate disk geometry fiddling, turning -l/-c/-h/-s values into MBR | Kenneth R Westerback |
2021-07-12 | Add 'dk_' prefix to struct disk field names. | Kenneth R Westerback |
2021-07-11 | Add 'mbr_' prefix to struct mbr field names. | Kenneth R Westerback |
2021-07-11 | Move ask_cmd(), ask_num(), ask_pid(), ask_string(), parse_b() | Kenneth R Westerback |
2021-07-11 | Add tabs to make variable declarations easier | Kenneth R Westerback |
2021-07-11 | 'return' is not a function call. | Kenneth R Westerback |
2021-06-28 | Add another epicycle to -A processing that ensures ONLY the | Kenneth R Westerback |
2021-06-25 | Replace instances of the magic number '64' with a nice #define | Kenneth R Westerback |
2021-06-23 | The value of -l should be treated as a 512-byte block count. | Kenneth R Westerback |
2021-06-22 | The values for blocks and offset in -b should be treated as 512-byte block | Kenneth R Westerback |
2021-06-21 | Add -A option to "safely" initialize a GPT without removing | Kenneth R Westerback |
2021-06-20 | Make -b available to architectures other than amd64 and i386. | Kenneth R Westerback |
2021-06-14 | Only use of 'reinited' died in cmd.c r1.100. It is now set in a | Kenneth R Westerback |
2021-05-14 | Tweak the two copies of gpt_chk_mbr() to return the index of the MBR | Kenneth R Westerback |
2021-05-10 | Replace some magic numbers with #define's. Rename GPT_get_gpt() to | Kenneth R Westerback |
2021-05-07 | Replace random mix of u_int* and uint* types with consistent uint* types. | Kenneth R Westerback |
2021-05-02 | Try harder to ensure there are no GPT revenants after | Kenneth R Westerback |
2018-04-26 | Prefer <fcntl.h> over <sys/fcntl.h> in userland | Philip Guenther |
2016-12-27 | The "disk too large" and "only LBA values saved" messages are more | Kenneth R Westerback |
2016-06-25 | Move pledge after opendev and DIOCGPDINFO. Fixes e.g. fdisk /dev/tty. | Theo Buehler |
2016-03-28 | Remove unused variables | Ricardo Mestre |
2015-12-12 | In olden times (i + u + e) was considered a clever way to 'or' | Kenneth R Westerback |
2015-12-12 | Open disk READONLY if none of i, e or u are specified. | Kenneth R Westerback |
2015-12-11 | Add '-v' flag that forces the display of both GPT's and the MBR. | Kenneth R Westerback |
2015-12-01 | Make '-i' set 'reinited' flag so that the initial Xwrite() will zap | Kenneth R Westerback |
2015-11-24 | pledge "stdio rpath wpath disklabel proc exec" throughout, after | Theo de Raadt |
2015-11-19 | Oops. Missed a file. | Kenneth R Westerback |
2015-11-18 | Parse the original on-disk MBR into a local variable. Use the | Kenneth R Westerback |
2015-11-18 | g_flag does not need to be a global. Move it inside main(). | Kenneth R Westerback |
2015-11-18 | Rejig the MBR file reading logic so | Kenneth R Westerback |
2015-11-18 | Read MBR immediately, and only read the GPT if the MBR is a | Kenneth R Westerback |
2015-11-15 | Move zapping of invalid GPT data into GPT_get_gpt() rather than | Kenneth R Westerback |
2015-11-14 | Since -l is ignored if -c/-h/-s are specified, make that combination | Kenneth R Westerback |
2015-11-14 | Consolidate usage() checking for -c/-h/-s with other checks. Tweak | Kenneth R Westerback |
2015-11-14 | pledge("stdio", NULL) for code path that just prints the MBR or GPT. i.e. | Kenneth R Westerback |
2015-11-14 | If none of -i, -u or -e are specified exit immediately after the | Kenneth R Westerback |
2015-11-13 | No need to supplement usage() with extra messages about -b needing -i, or | Kenneth R Westerback |
2015-11-13 | No need to zero a global variable before use. | Kenneth R Westerback |
2015-11-13 | Make usage() output fit on a 'normal' 80-character line. Tweak some | Kenneth R Westerback |
2015-11-13 | Move from opening/closing disk for every i/o to opening the disk once | Kenneth R Westerback |
2015-11-11 | Display full disk size when editing GPT, not the truncated MBR size. Display | Kenneth R Westerback |
2015-10-26 | Add GPT editing. Based on GSOC 2014 work by Markus Muller. | Kenneth R Westerback |
2015-10-05 | Enhance '-g' to create a default GPT label in addition to the protective | Kenneth R Westerback |
2015-09-06 | correct a mistake in my previous commit; | Jason McIntyre |
2015-09-04 | shuffle -b into place; while there, do some general tidy up | Jason McIntyre |
2015-09-04 | Add a -b option, to be used together with -i, that tells fdisk to add a | Mark Kettenis |