summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
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-02-14Whitespace nit.Kenneth R Westerback
2021-12-19Simplify error message emitted when requested partition sizeKenneth R Westerback
2021-11-09Increase min and max src a bit to accomodate growth and git usersOtto Moerbeek
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
2021-01-31fix mistaken operator precedence in a pointer dereference in disklabelChristian Weisgerber
2019-11-19Make /usr maximum 6G and grow it faster; ok lots of devsOtto Moerbeek
2019-08-21Bump /usr on big auto-allocation table; ok krw@ sthen@ phessler@Otto Moerbeek
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-04-29Add '*' to disklabel(8) editor prompt when in-memory copy of disklabelKenneth R Westerback
2019-04-03Add comment to prod updates to regress/sbin/disklabelKenneth R Westerback
2019-04-02Use consistant idiom for checking return value ofKenneth R Westerback
2019-03-31when using the auto partitioner, grow minimum size for /usr to 1300M.Peter Hessler
2019-03-31Enhance prompt shown during -E label editing. AlwaysKenneth R Westerback
2019-03-07update the error message for the interactive 'n' command to show thatJason McIntyre
2019-02-21Compute params of shrunk partition and not of resized one; ok krw@Otto Moerbeek
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-11-25FS_BOOT partitions are just partitions. Not free(ish) space.Kenneth R Westerback
2018-09-21Increase /usr/local max size to 20 GB in default templatesolene
2018-09-18Increase minimum size for /usr/obj partition to 5 Gig. This allowsAlexander Bluhm
2018-09-11Tighten validation tests on an obscure corner case ofKenneth R Westerback
2018-08-30Practice safe free()'ing by setting alloc to NULL toKenneth R Westerback
2018-08-30Never let FS_RAID partition be named, a.k.a. given a mount point.Kenneth R Westerback
2018-08-28Tweak messages emitted by editor_resize() so "Partition x shrunk ..."Kenneth R Westerback
2018-08-23Always check the return values of get_[fsize|bsize|cpg].Kenneth R Westerback
2018-08-21Unbreak 'R'esize.Kenneth R Westerback
2018-08-04Oops. Missing chunk from previous 'secs' -> 'ui'.Kenneth R Westerback
2018-08-04Rename local variable 'secs' to 'ui' to be consistant with all otherKenneth R Westerback
2018-08-02errno is never checked after a call to getuint64(). So there is noKenneth R Westerback
2018-07-12Cleanup and clarify getuint64() by using theKenneth R Westerback
2018-07-12Cleanup and clarify the has_overlap() logic so it can be read byKenneth R Westerback
2018-07-07Add recommended error checks around the use of strtod() inKenneth R Westerback
2018-07-03Reduce display_edit() parameter list by one. Just callKenneth R Westerback
2018-07-03Nuke some leading spaces and mis-indentations that crept in over theKenneth R Westerback
2018-07-01Rework partition offset/size rounding logic, removing it fromKenneth R Westerback
2018-04-27Add getnumber() to extract simple deciaml values from theKenneth R Westerback
2018-04-27Create and use a couple of #defines for the magic returnKenneth R Westerback
2018-04-26No need for two copies of tricky user input gathering code. Just useKenneth R Westerback
2018-04-26Add some range checks to make sure we don't attempt to store valuesKenneth R Westerback
2018-04-26Fix previous. Adding "offset" to "maxval" was required.YASUOKA Masahiko
2018-04-26Consolidate duplicate error messages, 'return' is not a function soKenneth R Westerback
2018-04-06Round user input to cylinder boundaries more betterer.Kenneth R Westerback
2018-03-08Check required partition size against the size of the largest freeKenneth R Westerback
2018-03-08Calculate chunk size after adjusting both the chunk offset and chunkKenneth R Westerback
2018-03-08Instead of a SUN_CYLCHECK block in both parts of an if/else, with aKenneth R Westerback
2018-03-08Bail out of a strategy early if the sum of the minsz values exceedsKenneth R Westerback