Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-23 | Unrevert reversion of r1.192. This time make sure 'aflag' is treated | Kenneth R Westerback | |
the same way 'dflag' is treated. i.e. reset it when the label is written out so a 'w' followed by a 'q' exits the editor without further questions. Also set it whenever the 'A' command is executed. Suggestions by Alexander Hall. ok deraadt@ | |||
2009-04-20 | No this change is wrong, because now 'w' followed by 'q' asks if you | Theo de Raadt | |
are sure. This will require another solution, based perhaps on comparing against an earlier form of the label | |||
2009-04-18 | Alexander Hall points out that disklabel -AE <disk> followed by quitting | Stuart Henderson | |
without making manual changes does not ask whether you'd like to save the new automatic disklabel. Change to follow the behaviour of -d and ask every time. ok krw@. | |||
2009-04-12 | When auto-allocating, check the size of the disk and display | Kenneth R Westerback | |
offset/size information in MB if the disk is <10G, and in GB otherwise. '-p' will override this default. | |||
2009-04-11 | Always display any mountpoint info available. Thus a simple -A will | Kenneth R Westerback | |
now show the planned mountpoint layout. ok deraadt@ | |||
2009-04-11 | readlabel() either errored out or returned a pointer to the global | Kenneth R Westerback | |
'lab'. So there is no need for the return value. Just use &lab wherever it was used. No functional change. Slightly different version read ok to blambert@ | |||
2009-04-11 | Treat the list of auto-allocation partitions as a priority list and | Kenneth R Westerback | |
stop auto-allocation as soon as a partition can't fit. Eliminate the 'no space to allocate ...' messages. | |||
2009-04-10 | allow /usr/local to be up to 5MB in auto mode; ok krw | Theo de Raadt | |
2009-04-10 | Re-work '-A' so that it sets a flag that -E and -w use, and which will | Kenneth R Westerback | |
just display the auto-allocation plan otherwise. Don't overwrite any spoofed partitions, insert auto allocated partitions where we can. This is much more install script and weird architecture friendly. I'm talking about you, macppc. Many suggestions and code from otto@, feedback from many, cattle prod applied by deraadt@. ok deraadt@ "if it works for >8GB ... put it in" miod@ "to be clear, ok" todd@ | |||
2009-04-04 | Translate the size values in the auto-allocate table from blocks to | Kenneth R Westerback | |
sectors at runtime instead of constantly converting the sector values in the label to blocks. Adjust names accordingly. No functional change. | |||
2009-04-03 | Bring comment into line with other docs. -E(dit) is not just for | Kenneth R Westerback | |
new labels. | |||
2009-04-01 | the note explaining partition letters is not a caveat, it is integral to | Jason McIntyre | |
the way disklabel works; move it into DESCRIPTION ok krw | |||
2009-03-31 | When warning about a non-zero partition offset, show DL_GETPOFFSET() | Kenneth R Westerback | |
and not DL_GETPSIZE(). | |||
2009-03-31 | Beef up description of 'c' partition in CAVEATS and remove mentions of | Kenneth R Westerback | |
'c' from descriptions of d(elete) and z(ero) commands. Feedback from jmc@ Slightly different version ok jmc@ deraadt@ | |||
2009-03-31 | Tweak comment to remove discussion of now non-existant 2 stage | Kenneth R Westerback | |
boot loaders and update list of NUMBOOT>0 archs. ok deraadt@ | |||
2009-03-31 | Remove lies about and tweak descriptions of built-in label editor, | Kenneth R Westerback | |
a.k.a. '-E'. Feedback from otto@ jmc@ | |||
2009-03-30 | Oops. Document new 'U' editor command in '?' output too. | Kenneth R Westerback | |
Prodded by & ok jmc@ | |||
2009-03-30 | Document new 'U' editor command. | Kenneth R Westerback | |
Prodded by & ok jmc@ | |||
2009-03-30 | lint; mostly unused variables, carefully checked against all platforms | Theo de Raadt | |
2009-03-29 | No more NUMBOOT==2 stuff around, nuke it for sake of clarity. | Tobias Weingartner | |
ok krw@ | |||
2009-03-29 | otto points out that the -v printing changes are incompatible with the | Theo de Raadt | |
expectation that -R will read the output of disklabel. I suspect we will find another way to do this; ok otto | |||
2009-03-28 | Verbiage tweaks from jmc@ and millert@. | Kenneth R Westerback | |
2009-03-28 | do not crash when no mountpoints, spotted by otto; ok krw | Theo de Raadt | |
2009-03-28 | Move some output under the control of the '-v' flag. In particular only | Kenneth R Westerback | |
display the partition info by default as is done in the E(ditor). The physical info is now only displayed if '-v' is specified. ok deraadt@ | |||
2009-03-28 | Add 'U' command to E(ditor). It reverts label to state it was in | Kenneth R Westerback | |
when entering E(ditor) mode. Clean up 'u' code and make more effort to keep label and mountpoint info in sync. Makes 'u' undo-able so those with vi fingers can apply and revert changes (with perhaps a 'p' or two in between) to validate changes. 'U' suggested by deraadt@. ok deraadt@ | |||
2009-03-28 | the CAVEAT about -B is described earlier; ok jmc | Theo de Raadt | |
2009-03-28 | make -B not even show up in usage on non-NUMBOOT systems; ok jmc krw | Theo de Raadt | |
2009-03-28 | point out that -B does not exist on some machines, and installboot(8) is | Theo de Raadt | |
used instead, ok krw jmc | |||
2009-03-28 | As Tobias Ulmer pointed out on tech@, Tahoe behaviour no longer is | Kenneth R Westerback | |
of concern so BUGS need not mention it. The other BUGS are also now irrelevant or not bugs at all. So delete entire BUGS section. Also tweak a bit of verbiage. ok deraadt@ | |||
2009-03-28 | for A, use real megs and gigs (power of 2 based); adapt the table to | Otto Moerbeek | |
include /usr/src and /usr/obj plus some tweaks; ok deraadt@ krw@ | |||
2009-03-23 | tweak the description of -A a little more; | Jason McIntyre | |
feedback/ok krw | |||
2009-03-22 | tweak previous; | Jason McIntyre | |
2009-03-22 | let u (undo) work for the A command; ok krw | Theo de Raadt | |
2009-03-22 | Add 'A' command to Editor mode, and -A flag to automatically execute it | Kenneth R Westerback | |
on disks without an existing label. The 'A' command allocates all space on the disk into a reasonable partition scheme for a root disk. Feedback from several, time to work on it in-tree. Prodded (repeatedly) by and ok deraadt@ | |||
2009-03-07 | "Numer of " -> "Number of ". Typo from r1.1. | Kenneth R Westerback | |
2009-02-15 | Don't display, or save via the editor 's' command, the fsize and | Kenneth R Westerback | |
bsize fields for UNUSED partitions. '-R' already skipped processing these fields for such partitions. Eliminates an XXX. ok deraadt, "makes sense" miod@ | |||
2009-01-11 | On *ppc disks shared with MacOS, walk the Apple partition map to find out | Miod Vallat | |
the bounds of the OpenBSD area. Should prevent users from shooting themselves in the feet. ok krw@ | |||
2008-12-07 | clean up find_bounds(), no binary change; 'dead initialisation' llvm/clang; ↵ | Constantine A. Murenin | |
ok krw millert | |||
2008-12-07 | fix an 11-year-old typo in an if statement; 'null dereference' llvm/clang; ↵ | Constantine A. Murenin | |
ok millert | |||
2008-09-03 | Missing break in case statement. | Jonathan Gray | |
2008-08-11 | fix a6 partition lookup where a static variable was incorrectly used in | Reyk Floeter | |
the recursive findopenbsd() function. reported by PR 5905. tested by many ok deraadt@ | |||
2008-08-10 | spacing; remove non-existent flag from synopsis. | Igor Sobrado | |
2008-08-10 | add missing space. | Igor Sobrado | |
ok krw@ | |||
2008-08-10 | Shorten the lines of '?' output in edit mode. A couple were too | Kenneth R Westerback | |
long (>76 chars) for the install script space on the CD jackets. Requested by deraadt@. | |||
2008-08-04 | fix extended partition support by handling chained EBRs correctly | Reyk Floeter | |
(using a recursion limit). now OpenBSD can be installed in a subsequent DOS/Linux-compatible extended partition. ok krw@ deraadt@ | |||
2008-07-10 | Die -r, die! Eliminate stray -r in usage text. Spotted by James Hartley. | Kenneth R Westerback | |
2008-07-09 | Read 'vendor' flag from ASCII disklabel since we print it. Fixes | Kenneth R Westerback | |
PR #5872. ok millert@ deraadt@ | |||
2008-07-01 | Initialize variable before checking against NULL. | Ray Lai | |
OK deraadt, otto, krw. | |||
2008-06-25 | In interactive mode, always suggest offsets and sizes inside the | Otto Moerbeek | |
OpenBSD area and change the 'p' command to only print the boundaries and size of the OpenBSD area and the free space within that area. Introduce a 'l' command to print the header only. With krw@; ok krw@ deraadt@; jmc@ for the man page bits | |||
2008-06-25 | allow to install and boot the OpenBSD A6 partition and disklabel in an | Reyk Floeter | |
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@ |