summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)AuthorFilesLines
2019-11-19Make /usr maximum 6G and grow it faster; ok lots of devsotto1-3/+3
2019-08-21Bump /usr on big auto-allocation table; ok krw@ sthen@ phessler@otto1-2/+2
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-3/+3
2019-04-29Add '*' to disklabel(8) editor prompt when in-memory copy of disklabelkrw1-2/+4
2019-04-03Add comment to prod updates to regress/sbin/disklabelkrw1-1/+7
2019-04-02Use consistant idiom for checking return value ofkrw1-10/+13
2019-03-31when using the auto partitioner, grow minimum size for /usr to 1300M.phessler1-3/+3
2019-03-31Enhance prompt shown during -E label editing. Alwayskrw1-2/+2
2019-03-07update the error message for the interactive 'n' command to show thatjmc1-2/+2
2019-02-21Compute params of shrunk partition and not of resized one; ok krw@otto1-5/+5
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert1-2/+2
2018-11-25FS_BOOT partitions are just partitions. Not free(ish) space.krw1-2/+1
2018-09-21Increase /usr/local max size to 20 GB in default templatesolene1-2/+2
2018-09-18Increase minimum size for /usr/obj partition to 5 Gig. This allowsbluhm1-2/+2
2018-09-11Tighten validation tests on an obscure corner case ofkrw1-7/+16
2018-08-30Practice safe free()'ing by setting alloc to NULL tokrw1-1/+2
2018-08-30Never let FS_RAID partition be named, a.k.a. given a mount point.krw1-40/+38
2018-08-28Tweak messages emitted by editor_resize() so "Partition x shrunk ..."krw1-6/+10
2018-08-23Always check the return values of get_[fsize|bsize|cpg].krw1-10/+18
2018-08-21Unbreak 'R'esize.krw1-4/+5
2018-08-04Oops. Missing chunk from previous 'secs' -> 'ui'.krw1-2/+2
2018-08-04Rename local variable 'secs' to 'ui' to be consistant with all otherkrw1-8/+8
2018-08-02errno is never checked after a call to getuint64(). So there is nokrw1-2/+1
2018-07-12Cleanup and clarify getuint64() by using thekrw1-104/+49
2018-07-12Cleanup and clarify the has_overlap() logic so it can be read bykrw1-45/+35
2018-07-07Add recommended error checks around the use of strtod() inkrw1-3/+6
2018-07-03Reduce display_edit() parameter list by one. Just callkrw1-5/+6
2018-07-03Nuke some leading spaces and mis-indentations that crept in over thekrw1-5/+5
2018-07-01Rework partition offset/size rounding logic, removing it fromkrw1-130/+152
2018-04-27Add getnumber() to extract simple deciaml values from thekrw1-38/+52
2018-04-27Create and use a couple of #defines for the magic returnkrw1-36/+42
2018-04-26No need for two copies of tricky user input gathering code. Just usekrw1-22/+15
2018-04-26Add some range checks to make sure we don't attempt to store valueskrw1-9/+39
2018-04-26Fix previous. Adding "offset" to "maxval" was required.yasuoka1-2/+2
2018-04-26Consolidate duplicate error messages, 'return' is not a function sokrw1-125/+87
2018-04-06Round user input to cylinder boundaries more betterer.krw1-12/+12
2018-03-08Check required partition size against the size of the largest freekrw1-28/+25
2018-03-08Calculate chunk size after adjusting both the chunk offset and chunkkrw1-12/+16
2018-03-08Instead of a SUN_CYLCHECK block in both parts of an if/else, with akrw1-13/+8
2018-03-08Bail out of a strategy early if the sum of the minsz values exceedskrw1-4/+6
2018-03-08Bail out of a strategy early if it requires more partitions than arekrw1-2/+7
2018-03-08Simplify the strategy looping.krw1-12/+10
2018-03-04Add if (D_VENDOR) check to last SUN_CYLCHECK block lacking it.krw1-8/+8
2018-03-02Tweak a couple of long lines.krw1-4/+5
2018-03-02Always call get_cpg() after calling get_bsize(). Initializekrw1-4/+11
2018-03-01Check for a negative value and overflow in getuint64() when performingmillert1-6/+11
2018-03-01Don't overflow or underflow value when [+-] operatorskrw1-6/+17
2018-03-01Avoid underflow under SUN_CYLCHECK when rounding partition size tokrw1-9/+11
2018-03-01Check return value of getuint64() for ULLONG_MAX, andkrw1-3/+6
2018-02-27Move fsize initialization into get_fsize() to eliminate duplication.krw1-36/+34