Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not adjust (uhm.. zero) the swap 'b' partition size if physmem is | 2021-03-09 | 1 | -2/+2 | |
| | | | | | | zero (should not happen, but did), because the auto-allocate code will put a filesystem on that partition. ok otto kurt | ||||
* | unbreak getline() conversion in disklabel | 2021-02-03 | 1 | -5/+6 | |
| | |||||
* | replace fgetln(3) with getline(3) in disklabel | 2021-02-02 | 1 | -14/+12 | |
| | | | | | | | Since getline() returns a C string, we don't need to carry around the length separately. ok millert@ | ||||
* | fix mistaken operator precedence in a pointer dereference in disklabel | 2021-01-31 | 1 | -3/+3 | |
| | | | | ok millert@ | ||||
* | Constify dktypenames and fstypenames in libc. | 2020-11-14 | 1 | -3/+5 | |
| | | | | | | Adjust variable declaration in disklabel to match. ok millert@ deraadt@ | ||||
* | unify and cleanup -DSEEALSO chunks in both disklabel Makefiles | 2020-07-21 | 1 | -15/+10 | |
| | |||||
* | ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; | 2020-04-23 | 1 | -4/+4 | |
| | |||||
* | Sync with table in editor.c; from Martin <openbsd at academicsolutions dot ch> | 2020-01-28 | 1 | -3/+3 | |
| | |||||
* | Spell "mount point" as other man pages do, with a space. | 2019-12-19 | 1 | -5/+5 | |
| | | | | ok jmc@ | ||||
* | Make /usr maximum 6G and grow it faster; ok lots of devs | 2019-11-19 | 2 | -7/+7 | |
| | |||||
* | Bump /usr on big auto-allocation table; ok krw@ sthen@ phessler@ | 2019-08-21 | 2 | -5/+5 | |
| | |||||
* | snprintf/vsnprintf return < 0 on error, rather than -1. | 2019-07-03 | 1 | -3/+3 | |
| | |||||
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 1 | -2/+2 | |
| | | | | | | 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. | ||||
* | Add missing ) | 2019-05-11 | 1 | -2/+2 | |
| | |||||
* | socppc makes an extended visit to the bigbucket. | 2019-05-11 | 1 | -2/+2 | |
| | | | | ok kettenis | ||||
* | Add '*' to disklabel(8) editor prompt when in-memory copy of disklabel | 2019-04-29 | 2 | -4/+22 | |
| | | | | | | | | | has been modified. Use name of disk being edited in fdisk(8) editor prompt. Idea from tb@. ok tb@ deraadt@ | ||||
* | Add comment to prod updates to regress/sbin/disklabel | 2019-04-03 | 1 | -1/+7 | |
| | | | | | *.ok files whenever space_allocation tables are modified. | ||||
* | Use consistant idiom for checking return value of | 2019-04-02 | 2 | -23/+26 | |
| | | | | | | | | 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. | ||||
* | No need for RESTORE (-R) to call DIOCGINFO and mpsave() twice in | 2019-04-02 | 1 | -7/+2 | |
| | | | | | | | normal mode. And not overwriting any -F/-f file when in -n (donothing) mode is likely less surprising. | ||||
* | Remove l_perror() and rely on warn() for failure | 2019-04-02 | 1 | -33/+8 | |
| | | | | | | messages in writelabel(). Consolidate two consecutive 'if (!donothing) ...' blocks into one. | ||||
* | Bring documentation into better correspondance | 2019-04-01 | 1 | -5/+8 | |
| | | | | | | with latest command line prompt change. ok kn@ jmc@, with more improvements inevitable. | ||||
* | No need to save/restore fields across the invocation of | 2019-04-01 | 1 | -10/+2 | |
| | | | | | | | getasciilabel() when getasciilabel() explicitly avoids changing those fields. ok otto@ | ||||
* | simpler display; | 2019-03-31 | 1 | -3/+2 | |
| | |||||
* | update the default partition sizes in the man page as well | 2019-03-31 | 1 | -9/+9 | |
| | | | | pointed out by otto@ | ||||
* | when using the auto partitioner, grow minimum size for /usr to 1300M. | 2019-03-31 | 1 | -3/+3 | |
| | | | | | | | 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@ | ||||
* | Enhance prompt shown during -E label editing. Always | 2019-03-31 | 2 | -4/+4 | |
| | | | | | display the disk device whose label is being edited. Change '>' to '#' when in expert mode. | ||||
* | update the error message for the interactive 'n' command to show that | 2019-03-07 | 1 | -2/+2 | |
| | | | | | | -F or -f is required; ok krw | ||||
* | use colons before showing examples; while here, replace the \*( char sequences; | 2019-03-07 | 1 | -8/+8 | |
| | |||||
* | Compute params of shrunk partition and not of resized one; ok krw@ | 2019-02-21 | 1 | -5/+5 | |
| | |||||
* | I am retiring my old email address; replace it with my OpenBSD one. | 2019-01-25 | 1 | -2/+2 | |
| | |||||
* | The common autolayout with all partitions needs not at least 10GB to be | 2018-12-04 | 1 | -3/+3 | |
| | | | | | selected. Adjust documentation. OK krw@ | ||||
* | FS_BOOT partitions are just partitions. Not free(ish) space. | 2018-11-25 | 1 | -2/+1 | |
| | | | | ok deraadt@ as part of larger diff | ||||
* | Increase /usr/local max size to 20 GB in default template | 2018-09-21 | 2 | -5/+5 | |
| | | | | ok krw@ deraadt@ jca@ | ||||
* | Update disklabel(8) man page with the new 5G minimum for /usr/obj. | 2018-09-19 | 1 | -9/+5 | |
| | | | | | Remove Tn macro to make mandoc lint happy. requested by jmc@ | ||||
* | Increase minimum size for /usr/obj partition to 5 Gig. This allows | 2018-09-18 | 1 | -2/+2 | |
| | | | | | to run make build and make regress after a default install. OK deraadt@ | ||||
* | Tighten validation tests on an obscure corner case of | 2018-09-11 | 1 | -7/+16 | |
| | | | | | | | | 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@. | ||||
* | Practice safe free()'ing by setting alloc to NULL to | 2018-08-30 | 1 | -1/+2 | |
| | | | | | | | | prevent double free. Spotted by jsg@, simpler fix by myself and miko@. ok jsg@ | ||||
* | Never let FS_RAID partition be named, a.k.a. given a mount point. | 2018-08-30 | 1 | -40/+38 | |
| | | | | | | | Nuke pointless and inconsistant error message before one get_mp() invocation. ok otto@ | ||||
* | Tweak messages emitted by editor_resize() so "Partition x shrunk ..." | 2018-08-28 | 1 | -6/+10 | |
| | | | | | | | is only printed if the disklabel gets modified. Also, include the new size. On failure just report "Amount too big.". | ||||
* | disklabel(8) no longer touches bootstrap code so stop mentioning it. | 2018-08-27 | 1 | -33/+4 | |
| | | | | | | | | | 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@ | ||||
* | disklabel(8) has not used the primary/secondary boot files | 2018-08-26 | 1 | -5/+1 | |
| | | | | for years. Remove mention of same from 'FILES' section. | ||||
* | The three -B forms of disklabel(8) were nuked years ago. So remove | 2018-08-26 | 1 | -7/+2 | |
| | | | | stray reference to them. | ||||
* | Always check the return values of get_[fsize|bsize|cpg]. | 2018-08-23 | 1 | -10/+18 | |
| | | | | | | Accept partition changes only if all succeed. ok tb@ deraadt@ | ||||
* | Unbreak 'R'esize. | 2018-08-21 | 1 | -4/+5 | |
| | | | | | | Problem noted and fix tested by jcs@. ok otto@ | ||||
* | Nuke stray/pointless 'volatile' for local var. | 2018-08-11 | 1 | -2/+2 | |
| | |||||
* | Oops. Missing chunk from previous 'secs' -> 'ui'. | 2018-08-04 | 1 | -2/+2 | |
| | |||||
* | Rename local variable 'secs' to 'ui' to be consistant with all other | 2018-08-04 | 1 | -8/+8 | |
| | | | | uses of getuint64(). No change to executable. | ||||
* | errno is never checked after a call to getuint64(). So there is no | 2018-08-02 | 1 | -2/+1 | |
| | | | | | point to getuint64() setting it to EINVAL when the user enters an invalid value or aborts input with a ^D. | ||||
* | Cleanup and clarify getuint64() by using the | 2018-07-12 | 1 | -104/+49 | |
| | | | | | | | | same functions as auto-allocation. parse_sizespec() and apply_unit(). No intentional functional change. Looked good to tb@ | ||||
* | Cleanup and clarify the has_overlap() logic so it can be read by | 2018-07-12 | 1 | -46/+36 | |
| | | | | | | | | | | 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@ |