summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2022-04-23Add missing uuid_dec_le() to init_gp() so -A works onKenneth R Westerback
2022-04-20Refine the GPT partition entry table validity check to ensureKenneth R Westerback
2022-04-20Wrap a long line.Kenneth R Westerback
2022-04-20Sigh. Another forgotten header file.Kenneth R Westerback
2022-04-20Simpify code manipulating GPT partition names by coalescingKenneth R Westerback
2022-04-20Eliminate some local pointers to gp[pn] and just use gp[pn].Kenneth R Westerback
2022-04-19Forgot a file for previous commit.Kenneth R Westerback
2022-04-19Bring GPT_print_partition() into line with other functions being passedKenneth R Westerback
2022-04-19Move declaration of DEBUG-only variable inside #ifdef DEBUG.Kenneth R Westerback
2022-04-19Eliminate superfluous intermediate variables 'pncnt' now thatKenneth R Westerback
2022-04-18Convert the GPT header read from disk into a host-endian version,Kenneth R Westerback
2022-04-14Move ((gh_part_size % d_secsize) == 0) validity checkKenneth R Westerback
2022-04-13Correct a gh_part_csum calculation used in debug output.Kenneth R Westerback
2022-04-13Correct a gh_csum calculation used in debug output.Kenneth R Westerback
2022-04-13Eliminate a couple of 'XXX' assumptions by calculating the actualKenneth R Westerback
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-03-16The 'status' parameter to uuid_* functions is uint32_t, not int.Kenneth R Westerback
2022-03-15Always use letoh32(gh.gh_part_num) instead of NGPTPARTITIONS whenKenneth R Westerback
2022-03-14Abstract duplicated code scanning gpt_types[] into a helperKenneth R Westerback
2022-03-14And the prototype too.Kenneth R Westerback
2022-03-14PRT_uuid_to_typename() can return const char *.Kenneth R Westerback
2022-03-14Nuke extraneous blank line.Kenneth R Westerback
2022-03-13Missing 'or'.Kenneth R Westerback
2022-03-11Simple hack to preserve the EFI System partition whenKenneth R Westerback
2022-02-04Wrap some annoyingly long lines.Kenneth R Westerback
2022-02-04%llu should be enough for anybody, no need to use %lld/(long long) forKenneth R Westerback
2022-02-04Remove CHS information from internal representation of MBR partitions. GenerateKenneth R Westerback
2022-02-03fdisk(8): Make -A preserve BIOS boot partitionVisa Hankala
2022-01-27Nuke single use function PRT_fix_BN() and just use the ATA/ATAPI LBA -> CHSKenneth R Westerback
2022-01-22Wrap some long lines.Kenneth R Westerback
2022-01-21Split PRT_print() into PRT_print_parthdr() and PRT_print_part()Kenneth R Westerback
2022-01-18PRT_make() can just zap the destination dos_partition if theKenneth R Westerback
2022-01-02Stop writing big-endian checksums into the little-endian GPTKenneth R Westerback
2021-12-29Tweak some DEBUG output.Kenneth R Westerback
2021-12-28Tweak some DEBUG output.Kenneth R Westerback
2021-12-11Start the default OpenBSD partition either immediately followingKenneth R Westerback
2021-12-07Don't truncate the default OpenBSD partition at the end of theKenneth R Westerback
2021-12-01Remove the MBR_init() "#ifdef defined(__macppc__) ||Kenneth R Westerback
2021-11-26remaing -> remainingJonathan Gray
2021-11-25Honour /usr/mdec/mbr or -f partition 0 information even outsideKenneth R Westerback
2021-11-20Gather the setup of the initial OpenBSD MBR partition into oneKenneth R Westerback
2021-11-20No need for intermediate 'adj' variable. Add 'disksz'Kenneth R Westerback
2021-11-20Sectors-per-cylinder (spc) is a constant value, so make it constKenneth R Westerback
2021-11-14Calculate initial OpenBSD partition start/size using LBA valuesKenneth R Westerback
2021-11-10Set correct prt_flag to 0.Kenneth R Westerback
2021-11-09Try this again, with (__powerpc__ || __mips__) chunk actuallyKenneth R Westerback
2021-11-09no, that breaks architecturesTheo de Raadt
2021-11-08Use a couple of local 'struct prt' variables to make MBR_init()Kenneth R Westerback
2021-11-07Nuke unused file.Kenneth R Westerback
2021-10-29Tweak code to make it clear that MBR_init() uses just the boot code andKenneth R Westerback