Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-21 | unify and cleanup -DSEEALSO chunks in both disklabel Makefiles | Theo de Raadt | |
2020-04-23 | ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; | Jason McIntyre | |
2020-01-28 | Sync with table in editor.c; from Martin <openbsd at academicsolutions dot ch> | Otto Moerbeek | |
2019-12-19 | Spell "mount point" as other man pages do, with a space. | Anthony J. Bentley | |
ok jmc@ | |||
2019-11-19 | Make /usr maximum 6G and grow it faster; ok lots of devs | Otto Moerbeek | |
2019-08-21 | Bump /usr on big auto-allocation table; ok krw@ sthen@ phessler@ | Otto Moerbeek | |
2019-07-03 | snprintf/vsnprintf return < 0 on error, rather than -1. | Theo de Raadt | |
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2019-05-11 | Add missing ) | Claudio Jeker | |
2019-05-11 | socppc makes an extended visit to the bigbucket. | Theo de Raadt | |
ok kettenis | |||
2019-04-29 | Add '*' to disklabel(8) editor prompt when in-memory copy of disklabel | Kenneth R Westerback | |
has been modified. Use name of disk being edited in fdisk(8) editor prompt. Idea from tb@. ok tb@ deraadt@ | |||
2019-04-03 | Add comment to prod updates to regress/sbin/disklabel | Kenneth R Westerback | |
*.ok files whenever space_allocation tables are modified. | |||
2019-04-02 | Use consistant idiom for checking return value of | Kenneth R Westerback | |
ioctl() (i.e. == -1). Don't prepend 'ioctl ' to ioctl name in error or warning messages. Always put the ioctl name in emitted messages. No intentional functional change. | |||
2019-04-02 | No need for RESTORE (-R) to call DIOCGINFO and mpsave() twice in | Kenneth R Westerback | |
normal mode. And not overwriting any -F/-f file when in -n (donothing) mode is likely less surprising. | |||
2019-04-02 | Remove l_perror() and rely on warn() for failure | Kenneth R Westerback | |
messages in writelabel(). Consolidate two consecutive 'if (!donothing) ...' blocks into one. | |||
2019-04-01 | Bring documentation into better correspondance | Kenneth R Westerback | |
with latest command line prompt change. ok kn@ jmc@, with more improvements inevitable. | |||
2019-04-01 | No need to save/restore fields across the invocation of | Kenneth R Westerback | |
getasciilabel() when getasciilabel() explicitly avoids changing those fields. ok otto@ | |||
2019-03-31 | simpler display; | Jason McIntyre | |
2019-03-31 | update the default partition sizes in the man page as well | Peter Hessler | |
pointed out by otto@ | |||
2019-03-31 | when using the auto partitioner, grow minimum size for /usr to 1300M. | Peter Hessler | |
bare minimum /usr for all sets on amd64 is 920M used space, and we need some more for upgrades, as well as relinking libs and kernels. OK deraadt@ | |||
2019-03-31 | Enhance prompt shown during -E label editing. Always | Kenneth R Westerback | |
display the disk device whose label is being edited. Change '>' to '#' when in expert mode. | |||
2019-03-07 | update the error message for the interactive 'n' command to show that | Jason McIntyre | |
-F or -f is required; ok krw | |||
2019-03-07 | use colons before showing examples; while here, replace the \*( char sequences; | Jason McIntyre | |
2019-02-21 | Compute params of shrunk partition and not of resized one; ok krw@ | Otto Moerbeek | |
2019-01-25 | I am retiring my old email address; replace it with my OpenBSD one. | Todd C. Miller | |
2018-12-04 | The common autolayout with all partitions needs not at least 10GB to be | Claudio Jeker | |
selected. Adjust documentation. OK krw@ | |||
2018-11-25 | FS_BOOT partitions are just partitions. Not free(ish) space. | Kenneth R Westerback | |
ok deraadt@ as part of larger diff | |||
2018-09-21 | Increase /usr/local max size to 20 GB in default template | solene | |
ok krw@ deraadt@ jca@ | |||
2018-09-19 | Update disklabel(8) man page with the new 5G minimum for /usr/obj. | Alexander Bluhm | |
Remove Tn macro to make mandoc lint happy. requested by jmc@ | |||
2018-09-18 | Increase minimum size for /usr/obj partition to 5 Gig. This allows | Alexander Bluhm | |
to run make build and make regress after a default install. OK deraadt@ | |||
2018-09-11 | Tighten validation tests on an obscure corner case of | Kenneth R Westerback | |
trying to align partitions to size <= 0 or past the end of the disk. Emit error message in this case as in other align errors. Looks good to otto@. | |||
2018-08-30 | Practice safe free()'ing by setting alloc to NULL to | Kenneth R Westerback | |
prevent double free. Spotted by jsg@, simpler fix by myself and miko@. ok jsg@ | |||
2018-08-30 | Never let FS_RAID partition be named, a.k.a. given a mount point. | Kenneth R Westerback | |
Nuke pointless and inconsistant error message before one get_mp() invocation. ok otto@ | |||
2018-08-28 | Tweak messages emitted by editor_resize() so "Partition x shrunk ..." | Kenneth R Westerback | |
is only printed if the disklabel gets modified. Also, include the new size. On failure just report "Amount too big.". | |||
2018-08-27 | disklabel(8) no longer touches bootstrap code so stop mentioning it. | Kenneth R Westerback | |
The MD writedisklabel() function ensures the disklabel does not intrude on bootstraps. Add a Xr to installboot(8), which does bootstrappy stuff these days. ok jmc@ | |||
2018-08-26 | disklabel(8) has not used the primary/secondary boot files | Kenneth R Westerback | |
for years. Remove mention of same from 'FILES' section. | |||
2018-08-26 | The three -B forms of disklabel(8) were nuked years ago. So remove | Kenneth R Westerback | |
stray reference to them. | |||
2018-08-23 | Always check the return values of get_[fsize|bsize|cpg]. | Kenneth R Westerback | |
Accept partition changes only if all succeed. ok tb@ deraadt@ | |||
2018-08-21 | Unbreak 'R'esize. | Kenneth R Westerback | |
Problem noted and fix tested by jcs@. ok otto@ | |||
2018-08-11 | Nuke stray/pointless 'volatile' for local var. | Kenneth R Westerback | |
2018-08-04 | Oops. Missing chunk from previous 'secs' -> 'ui'. | Kenneth R Westerback | |
2018-08-04 | Rename local variable 'secs' to 'ui' to be consistant with all other | Kenneth R Westerback | |
uses of getuint64(). No change to executable. | |||
2018-08-02 | errno is never checked after a call to getuint64(). So there is no | Kenneth R Westerback | |
point to getuint64() setting it to EINVAL when the user enters an invalid value or aborts input with a ^D. | |||
2018-07-12 | Cleanup and clarify getuint64() by using the | Kenneth R Westerback | |
same functions as auto-allocation. parse_sizespec() and apply_unit(). No intentional functional change. Looked good to tb@ | |||
2018-07-12 | Cleanup and clarify the has_overlap() logic so it can be read by | Kenneth R Westerback | |
normal people and is more efficient to boot. The only intentional functional change was to use mergesort() instead of heapsort() so that partitions with the same offset retain their order in the emitted verbiage. Looked good to tb@, ok kn@ | |||
2018-07-07 | Add recommended error checks around the use of strtod() in | Kenneth R Westerback | |
parse_sizespec(). ok otto@ | |||
2018-07-03 | Reduce display_edit() parameter list by one. Just call | Kenneth R Westerback | |
editor_countfree() in the function body rather than in the invocation. ok millert@ | |||
2018-07-03 | Nuke some leading spaces and mis-indentations that crept in over the | Kenneth R Westerback | |
years. ok otto@ | |||
2018-07-03 | No need for print_unit to be a global. | Kenneth R Westerback | |
ok otto@ | |||
2018-07-01 | Rework partition offset/size rounding logic, removing it from | Kenneth R Westerback | |
getuint64() which struggled to know what to do. Add it to the places rounding is actually wanted by creating and using alignpartition() which takes parameters to determine what is rounded, to what boundaries and in what direction. Simplifies and clarifies logic. Various minor verbiage tweaks and shuffling of output under expert mode to improve output during alignments. Been in snaps for a couple of weeks. much back & forth with and ok otto@ |