summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2021-06-23The value of -l should be treated as a 512-byte block count.Kenneth R Westerback
2021-06-22Pp not required before list items;Jason McIntyre
2021-06-22The values for blocks and offset in -b should be treated as 512-byte blockKenneth R Westerback
2021-06-21Wrap #define nitems in #ifndef nitems/#endif.Kenneth R Westerback
2021-06-21Add -A option to "safely" initialize a GPT without removingKenneth R Westerback
2021-06-20replace the Oo/Oc block of -chs in SYNOPSIS with a simple Op: the blockJason McIntyre
2021-06-20few more Ns in the -b option descriptionTheo de Raadt
2021-06-20Make -b available to architectures other than amd64 and i386.Kenneth R Westerback
2021-06-16Ensure that the '-i' command line option and the 'reinit [mbr]'Kenneth R Westerback
2021-06-14Only use of 'reinited' died in cmd.c r1.100. It is now set in aKenneth R Westerback
2021-06-14Somewhere in the recent churn a couple of memset()'sKenneth R Westerback
2021-06-13There is no '!' in HiFive.Kenneth R Westerback
2021-06-13Have gedit() and gsetpid() both return CMD_CLEAN if no data hasKenneth R Westerback
2021-06-13Tweak gsetpid() to restore partition info in case of an error,Kenneth R Westerback
2021-06-13UUID_STR_LEN+1 is less mysterious than '37'.Kenneth R Westerback
2021-06-13Don't ignore a GPT that claims the last usable LBA is locatedKenneth R Westerback
2021-06-13Fix lba_start >= lba_end debug message.Kenneth R Westerback
2021-06-12Ooops. Managed to typo 'gh' instead of 'gp' when copyingKenneth R Westerback
2021-06-12Recognize "HiFive! FSBL" and "HiFive! BBL" GPT partitions.Kenneth R Westerback
2021-06-12Abstract init_gh() and init_gp() from GPT_init().Kenneth R Westerback
2021-06-12GPT_get_header() and GPT_get_partition_table() are only usedKenneth R Westerback
2021-06-12When initializing a GPT always create an EFI SYS partition if theKenneth R Westerback
2021-06-12Create add_partition() and use in GPT_init() to initialize GPTKenneth R Westerback
2021-06-12Use a new variable 'gpbytes' rather than 'sizeof(gp)' to controlKenneth R Westerback
2021-06-11Oops. Restore error message when no free space found.Kenneth R Westerback
2021-06-11Add local function lba_free() to find the bounds of the largestKenneth R Westerback
2021-06-11Add local functions edit() and setpid().Kenneth R Westerback
2021-06-11Take a bit more obvious care in gedit() to restore originalKenneth R Westerback
2021-06-11No need to parse partition number more than necessary. Just passKenneth R Westerback
2021-06-10Another hand rolled partition number parsing bites the dust.Kenneth R Westerback
2021-06-10Missed an occurance of hand rolled partition number parsing.Kenneth R Westerback
2021-06-10Abstract repeated parsing of partition numbers into parsepn() toKenneth R Westerback
2021-06-10Local functions don't need to be in .h files, nor do they need theKenneth R Westerback
2021-06-10Shift zeroing of gpt header and partition table to top ofKenneth R Westerback
2021-06-10Toss in 'const' for the parameters to string_to_utf16le() andKenneth R Westerback
2021-06-10'i' is a silly name for a daddr_t variable, and could be neededKenneth R Westerback
2021-06-10Rename vars 'oldpart' to 'oldgg' when storing 'gg' value, andKenneth R Westerback
2021-06-10Nuke extraneous blank line.Kenneth R Westerback
2021-06-03Recognize the Apple APFS GPT partition types seen on Apple M1 boxen.Kenneth R Westerback
2021-06-02Use the same logic in all copies of gpt_chk_mbr(), relaxing theKenneth R Westerback
2021-05-27Relax criteria for recognizing GPT formatted media by allowing theKenneth R Westerback
2021-05-21The protective MBR for GPT partitioning must be atKenneth R Westerback
2021-05-20Nuke duplicate declaration of MBR_init_GPT().Kenneth R Westerback
2021-05-19No need to pass the location of the partition table toKenneth R Westerback
2021-05-15Nuke some Capt. Obvious and soon to be obsolete comments inKenneth R Westerback
2021-05-15Keep internal representation of DOSPTYP_EFI partition sizes correct.Kenneth R Westerback
2021-05-15Add missing MBR_protective_mbr() check when writing edited GPT.Kenneth R Westerback
2021-05-15Shuffle USER_print_disk() code into a more rational, clearerKenneth R Westerback
2021-05-15Shuffle GPT_read() code into a nice switch{}, eliminatingKenneth R Westerback
2021-05-14Whitespace tweaks and a couple of stray u_int* in gpt_chk_mbr().Kenneth R Westerback