summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2023-05-17Make function and symmetry obvious by renaming PRT_make() toKenneth R Westerback
2023-05-10Display correct type name for Microsoft basic data GPTKenneth R Westerback
2023-05-10Microsoft GPT partition attributes can appear on partitions otherKenneth R Westerback
2023-05-07GPT partitions with the 'Required' attribute are not deleted by -A.Kenneth R Westerback
2023-04-12Simplify code by folding uuid_attr() into PRT_protected_uuid().Kenneth R Westerback
2023-04-12Clarify logic in PRT_uuid_to_menudflt() by using find_gpt_menuitem().Kenneth R Westerback
2023-04-11Abstract find_[gpt|mbr]_menuitem() to simplify code andKenneth R Westerback
2023-04-11Simplify code by passing pointers to the appropriate type toKenneth R Westerback
2023-04-11Shuffle mbr and gpt function prototypes and declarations together.Kenneth R Westerback
2023-04-10Make GPT display of menu hex octet the same as the MBR display.Kenneth R Westerback
2023-04-09Refactor and simplify GPT menu selection logic.Kenneth R Westerback
2023-04-08A bit more guid vs uuid naming consistency.Kenneth R Westerback
2023-04-07Oops. Missed files in last commit.Kenneth R Westerback
2023-04-07Add helper functions find_mbr_desc() and find_gpt_desc() to allowKenneth R Westerback
2023-04-05Add (inside #if 0 blocks) #define's and gpt_types[] entries forKenneth R Westerback
2023-04-04Adopt a more compact idiom when initializing gpt_types[]. GroupKenneth R Westerback
2023-04-02Use #define instead of `char * const' for the repeated GUID strings. Ugly,Miod Vallat
2023-04-01Use char * const for the rest of the repeated GUID strings. MoreKenneth R Westerback
2023-03-31Refactor partition type menu code, disentangling mbr and gptKenneth R Westerback
2023-03-31Oops. Missed eliminating unneeded double quotes in previous.Kenneth R Westerback
2023-03-31Be more consistent in function naming. Functions taking orKenneth R Westerback
2023-03-30Use 'char * const' instead of #define for repeatedKenneth R Westerback
2023-03-30Remove needless memset() call, 'entries' variable andKenneth R Westerback
2023-03-29Change 'type' to 'menuid' in various struct's, functions andKenneth R Westerback
2023-03-29No need to assume a nil GUID can be found at gpt_types[0]. JustKenneth R Westerback
2023-03-29Simplify code by having PRT_uuid_to_type() return -1 whenKenneth R Westerback
2023-03-26Pass lbuf/lbuflen to PRT_print_[mbr|gpt]_menu() to allow changesKenneth R Westerback
2023-03-26Add EFI_SYSTEM_PARTITION_GUID #define and use it to check forKenneth R Westerback
2023-03-26Add MICROSOFT_BASIC_DATA_GUID #define to make clear what menuKenneth R Westerback
2023-03-25Add comments documenting possible sources for MBR partition typesKenneth R Westerback
2023-03-25Move LINEBUFSZ to be with its friends in misc.h.Kenneth R Westerback
2023-03-25Rename ascii_id() find_mbr_type(), make it a bit more like itsKenneth R Westerback
2023-03-25Make *_name fields char * instead of char[]. Specify desiredKenneth R Westerback
2023-03-25Rename *_sname fields/functions to *_name to remove impliedKenneth R Westerback
2023-03-06Use GPT_UUID_NBSD_UFS, not GPT_UUID_FBSD_DATA, for NetBSD GPTKenneth R Westerback
2023-03-06Use nitems() of source and destination partition arraysKenneth R Westerback
2023-03-04Don't whine about invalid start/end values whenKenneth R Westerback
2023-03-04Use nitems() in the simple iterations over mbr->mbr_prt[].Kenneth R Westerback
2023-03-04Toss in some const's to ensure that static data pointed toKenneth R Westerback
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