summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Expand)Author
2023-07-05Simplify and clarify the description of auto allocation.Kenneth R Westerback
2023-07-05Restore (R)esize functionality to sparc64 disklabel(8).Kenneth R Westerback
2023-07-03An empty string indicates there is no NXTNUM().Kenneth R Westerback
2023-07-03Nuke unused label 'next:'.Kenneth R Westerback
2023-07-03The only thing worse than treating 'return' as a function call isKenneth R Westerback
2023-06-29Fix handling of 'N-* 100' template entries.Kenneth R Westerback
2023-06-28Refactor editor_allocspace() into easier to follow pieces.Kenneth R Westerback
2023-06-21Add a parameter 'action' to mpfree() so it can optionally discardKenneth R Westerback
2023-06-19Replace eclectic mix of errx(4, "out of memory"), err(4, NULL)Kenneth R Westerback
2023-06-18Add and use CHUNKSZ() to replace 'chunk->stop - chunk->start'Kenneth R Westerback
2023-06-18Use UINT64_MAX instead of -1 to set a uint64_t value toKenneth R Westerback
2023-05-23With the retirement of expert mode, get_fsize(), get_bsize() andKenneth R Westerback
2023-05-20p_fragblock = DISKLABELV1_FFS_FRAGBLOCK(0, 0) sets p_fragblock toKenneth R Westerback
2023-05-13In the absence of the 'disktype' command line parameter alwaysKenneth R Westerback
2023-05-06Replace pointless %d formatting of 0 values withKenneth R Westerback
2023-04-27Retire -E's "expert" mode. Introduced 23 years ago to avoidKenneth R Westerback
2023-02-20Rework/modernize verbiage in the "AUTOMATIC DISK ALLOCATION" andKenneth R Westerback
2023-02-18Fix possibly uninitialized variable in editor_allocspace(); ok krw@Miod Vallat
2023-02-07Extend template parsing to allow "[mount point] *" as the specification forKenneth R Westerback
2023-02-02Tweak restored code chunk to eliminate duplicate checks.Kenneth R Westerback
2023-02-02Restore incorrectly deleted test for default partitions intrudingKenneth R Westerback
2023-01-28Nuke unused variable.Kenneth R Westerback
2023-01-25Use getpartno() in editor_delete(), enhancing getpartno() toKenneth R Westerback
2023-01-24Use getpartno() in editor_add(), enhancing getpartno() to findKenneth R Westerback
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