Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-29 | FILES: | Jason McIntyre | |
- fix the crazy list width - since there's only one item, -compact makes no sense | |||
2022-09-06 | Delete some unreferenced SMD, ST506 and archaic SCSI #define's | Kenneth R Westerback | |
that use d_drivedata. Since nothing else in the tree refers to d_drivedata other than /etc/disktab parsing and no /etc/disktab entry utilizes the :d[0-4]: attributes, stop disklabel(8) both printing "drivedata: 0" and paying attention to any "drivedata: ..." lines in ascii labels being read. ok jsg@ miod@ | |||
2022-09-04 | Document disklabel(8) -T's new RAID template | Klemens Nanni | |
OK jmc | |||
2022-09-03 | Add a new keyword to template files, 'raid', to allow the auto | Kenneth R Westerback | |
allocation of RAID partitions. Make both 'raid' and 'swap' keywords case insensitive. Suggested by kn@ ok kn@ miod@ | |||
2022-09-01 | d_bbsize and d_sbsize have become write-only fields. | Kenneth R Westerback | |
No need to set them or check that they are set. ok otto@ as part of larger diff | |||
2022-08-31 | If a partition both starts and ends beyond the end of the unit | Kenneth R Westerback | |
only warn about the start. ok millert@ | |||
2022-07-31 | The geometry information in stuct disklabel is not used for | Kenneth R Westerback | |
anything. Allowing modifications to it or displaying whatever geometry was in use when the label was created leads to needless inconsistency with the kernel and with the values displayed by, e.g., fdisk(8). Always set label fields d_secsize, d_nsectors, d_ntracks, d_secpercyl, d_ncylinders to the current values used by the kernel, obtained via DIOCGPDINFO. Ignore any values from the on-disk label or the file -R uses. Nuke editor command 'g' and restrict editor command 'e' to changing d_type and d_packname. | |||
2022-06-25 | Increase the auto partitioner's maximum /usr size to 30G. | mbuhl | |
OK bluhm, otto, deraadt | |||
2022-03-31 | man pages: add missing commas between subordinate and main clauses | Christian Weisgerber | |
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@ | |||
2022-02-24 | Rename parselabel() to parsefstab() and makelabel() to | Kenneth R Westerback | |
parsedisktab(). Move non-fstab and non-disktab bits to the single points of invocation for both. No intentional functional change. | |||
2022-02-19 | The 'e' command of the simple editor has not provided editing of | Kenneth R Westerback | |
'interleave' or 'rpm' since the disklabel fields d_interleave and d_rpm were 'recycled' to make room for duid's in April, 2010. | |||
2022-02-18 | writelabel() only needs one prototype. | Kenneth R Westerback | |
2022-02-18 | Move prototypes for checklabel(), readlabel() and parselabel() | Kenneth R Westerback | |
into disklabel.c since editor.c and dkcksum.c have no need to know. | |||
2022-02-18 | No need for makebootarea() prototype as makebootarea() perished with NUMBOOT in | Kenneth R Westerback | |
2015 (r1.211). | |||
2022-02-14 | Whitespace nit. | Kenneth R Westerback | |
2021-12-19 | Simplify error message emitted when requested partition size | Kenneth R Westerback | |
cannot be accommodated. "not enough space" should be enough for anyone. Requested by deraadt@ | |||
2021-11-10 | Max size of src also changed. Noted by Mikhail <mp39590@gmail.com> | Otto Moerbeek | |
2021-11-10 | Add missing chunk form previous commit | Otto Moerbeek | |
2021-11-09 | Increase min and max src a bit to accomodate growth and git users | Otto Moerbeek | |
From Mikhail <mp39590@gmail.com> | |||
2021-11-05 | Correct auto table entry for /var: it's 4G plus 2x physmem | Otto Moerbeek | |
2021-09-20 | jmc was a bit too eager and deleted the -DSUN_CYLCHECK -DSUN_AAT0 | Theo de Raadt | |
compile options required for sparc64 (partition alignment, in particular) noticed by bluhm during testing | |||
2021-06-24 | trim usage to match the man page; | Jason McIntyre | |
remove -DSEEALSO, as suggested by millert ok millert | |||
2021-05-30 | Fix overlap check in autoalloc code; ending_sector is the sector after the | Mark Kettenis | |
OpenBSD area of the disk so it is fine if a "foreign" partition starts at ending_sector. ok krw@, otto@ | |||
2021-03-09 | Do not adjust (uhm.. zero) the swap 'b' partition size if physmem is | Theo de Raadt | |
zero (should not happen, but did), because the auto-allocate code will put a filesystem on that partition. ok otto kurt | |||
2021-02-03 | unbreak getline() conversion in disklabel | Christian Weisgerber | |
2021-02-02 | replace fgetln(3) with getline(3) in disklabel | Christian Weisgerber | |
Since getline() returns a C string, we don't need to carry around the length separately. ok millert@ | |||
2021-01-31 | fix mistaken operator precedence in a pointer dereference in disklabel | Christian Weisgerber | |
ok millert@ | |||
2020-11-14 | Constify dktypenames and fstypenames in libc. | Philip Guenther | |
Adjust variable declaration in disklabel to match. ok millert@ deraadt@ | |||
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 |