summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Expand)Author
2023-01-22Fix incorrect comparison. Restores ability to edit 'p'.Kenneth R Westerback
2023-01-21editor_resize(), editor_change(), editor_modify() andKenneth R Westerback
2023-01-20editor_name() and get_mp() don't change the disklabel soKenneth R Westerback
2023-01-20char * -> const char * parameters where clang doesn't complain.Kenneth R Westerback
2023-01-18Use ROUNDDOWN() to round down to cylinder boundary.Kenneth R Westerback
2023-01-18Use ROUNDUP() to round up to cylinder boundary.Kenneth R Westerback
2023-01-17Nuke unused MAXIMUM(). Add ROUNDUP() and ROUNDDOWN().Kenneth R Westerback
2023-01-16Use size of largest chunk of free space, not total of all chunksKenneth R Westerback
2023-01-14Replace comparisons/assignments to '3' with equivalent comparisons to RAW_PARTKenneth R Westerback
2023-01-13Fix a couple of auto allocation corner cases.Kenneth R Westerback
2023-01-09disklabel appeared in tahoeJonathan Gray
2023-01-05Make free_chunks() return 'const struct chunk *' since we don'tKenneth R Westerback
2023-01-04Use 'const struct disklabel *' parameters where the disklabel isKenneth R Westerback
2023-01-04Eliminate two unnecessary 'i' loop variables by incrementingKenneth R Westerback
2023-01-04Replace p_fstype to/from FS_UNUSED dances around invocations ofKenneth R Westerback
2023-01-04Shuffle code a bit to eliminate need for inner loopKenneth R Westerback
2023-01-03No need to call editor_countfree() when displaying all the freeKenneth R Westerback
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-11-10HP-300's hd is now gone. svnd transmorgified into vnd in 2011. NoKenneth R Westerback
2022-11-09No more xd/xy devs.Kenneth R Westerback
2022-11-09Use nitems() instead of a terminating { NULL, NULL } entry.Kenneth R Westerback
2022-11-08Nuke unused variable 'freesectors'.Kenneth R Westerback
2022-10-14Fix botched D_SUNCYLCHECK+D_VENDOR check from r1.321.Kenneth R Westerback
2022-10-12Nuke D_BADSECT and disktab's 'sf'.Kenneth R Westerback
2022-09-29FILES:Jason McIntyre
2022-09-06Delete some unreferenced SMD, ST506 and archaic SCSI #define'sKenneth R Westerback
2022-09-04Document disklabel(8) -T's new RAID templateKlemens Nanni
2022-09-03Add a new keyword to template files, 'raid', to allow the autoKenneth R Westerback
2022-09-01d_bbsize and d_sbsize have become write-only fields.Kenneth R Westerback
2022-08-31If a partition both starts and ends beyond the end of the unitKenneth R Westerback
2022-07-31The geometry information in stuct disklabel is not used forKenneth R Westerback
2022-06-25Increase the auto partitioner's maximum /usr size to 30G.mbuhl
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-02-24Rename parselabel() to parsefstab() and makelabel() toKenneth R Westerback
2022-02-19The 'e' command of the simple editor has not provided editing ofKenneth R Westerback
2022-02-18writelabel() only needs one prototype.Kenneth R Westerback
2022-02-18Move prototypes for checklabel(), readlabel() and parselabel()Kenneth R Westerback
2022-02-18No need for makebootarea() prototype as makebootarea() perished with NUMBOOT inKenneth R Westerback
2022-02-14Whitespace nit.Kenneth R Westerback
2021-12-19Simplify error message emitted when requested partition sizeKenneth R Westerback
2021-11-10Max size of src also changed. Noted by Mikhail <mp39590@gmail.com>Otto Moerbeek
2021-11-10Add missing chunk form previous commitOtto Moerbeek
2021-11-09Increase min and max src a bit to accomodate growth and git usersOtto Moerbeek
2021-11-05Correct auto table entry for /var: it's 4G plus 2x physmemOtto Moerbeek
2021-09-20jmc was a bit too eager and deleted the -DSUN_CYLCHECK -DSUN_AAT0Theo de Raadt
2021-06-24trim usage to match the man page;Jason McIntyre
2021-05-30Fix overlap check in autoalloc code; ending_sector is the sector after theMark Kettenis
2021-03-09Do not adjust (uhm.. zero) the swap 'b' partition size if physmem isTheo de Raadt
2021-02-03unbreak getline() conversion in disklabelChristian Weisgerber
2021-02-02replace fgetln(3) with getline(3) in disklabelChristian Weisgerber