summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2022-09-15Short names make for shorter and prettier lines.Kenneth R Westerback
2022-09-15Add GPTPARTATTR_MS_* defines for Microsoft basic data attributesKenneth R Westerback
2022-09-11Add #define's for GPT partition attribute bits REQUIRED, IGNOREKenneth R Westerback
2022-08-29Print warning when a GPT partition start or end is outside theKenneth R Westerback
2022-08-29Print warning when an MBR partition starts or extends past theKenneth R Westerback
2022-07-26Allow editing of an MBR of all zeros.Kenneth R Westerback
2022-07-25Only MBR and GPT structures can be edited by fdisk.Kenneth R Westerback
2022-07-18Synch 'help' command descriptions with man page descriptions.Kenneth R Westerback
2022-07-18'quit' and 'exit' descriptions were reversed.Kenneth R Westerback
2022-07-17Modernize and cleanse fdisk.8, making it more concise andKenneth R Westerback
2022-07-10Add some anti-feline input protection by refusing to processKenneth R Westerback
2022-07-10Use nice #define's for input buf size and output help buf size.Kenneth R Westerback
2022-06-28Move debug-only variable 'i' to be with the other debug-onlyKenneth R Westerback
2022-05-23Neither macppc nor the retired loongson have any remaining usefulKenneth R Westerback
2022-05-12And the man page change too.Kenneth R Westerback
2022-05-12Prevent '-u' when operating on GPT formatted disks, as theKenneth R Westerback
2022-05-10Align fdisk with the logic used in the kernel and allow theKenneth R Westerback
2022-05-09Replace a stray 0xA6 with DOSPTYP_OPENBSD. Tweak a ">= 2" to moreKenneth R Westerback
2022-05-08Rename gt_protected field of struct gpt_type to gt_attr andKenneth R Westerback
2022-05-08Shuffle local helper function declarations and definitions intoKenneth R Westerback
2022-05-07Now that the internal versions of GPT partitions are host-endian,Kenneth R Westerback
2022-05-06Rename PRT_uuid_to_[protection|typename] to PRT_uuid_to_[protected|sname],Kenneth R Westerback
2022-05-06When printing the GPT table, display "Microsoft basic data" instead ofKenneth R Westerback
2022-05-03Rework display of partition types, removing unnecessary trailingKenneth R Westerback
2022-04-28Convert the internal GPT partition entries into host-endian formKenneth R Westerback
2022-04-25Push DISK_[read|write]sectors() down to disk.c local functionsKenneth R Westerback
2022-04-25gh_csum an gh_part_csum are not used between initializingKenneth R Westerback
2022-04-24Use warnx() if errno is not relevant. close() after errno ofKenneth R Westerback
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