Age | Commit message (Collapse) | Author |
|
a more useful error message for invalid ones. ok deraadt
|
|
"total sectors" to "boundstart" and "boundend" in the list of fields
that are left alone during a RESTORE operation.
ok deraadt@
|
|
This ensures that all physical fields are filled in with current
values. Lack of values (boundstart, boundend in particular) noted
by ray@.
ok deraadt@
|
|
bsize boundary and the end fills up the last bsize chunk.
Don't change the start sector if it is the first sector of the
OpenBSD portion of the disk.
Don't attempt to align on SUN_CYLCHECK architectures. They are
attempting a different alignment.
This is an attempt to ensure that FFS i/o's are aligned for optimal
performance on newer disks that lie about their sector size.
|
|
the value 0 to one function call. Use 0 there, eliminate the
variable and the pointless verbose verbiage that always displayed
the same value.
ok deraadt@ matthew@
|
|
ok krw@ jsing@
|
|
ok krw@
|
|
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include
<sys/dkio.h> to the places that actually want and use the disk
ioctls.
this became an issue when krw@'s X build failed when he was testing
a change to dkio.h.
tested by krw@
help from and ok miod@
|
|
|
|
|
|
disklabel UID to be changed.
ok krw@ marco@
|
|
sscanf().
ok marco@
|
|
a new uid instead.
ok krw@ marco@
|
|
ok deraadt@ krw@
|
|
identifier, allowing the disk to be identified without relying on the
device name.
ok deraadt@ krw@ beck@ marco@ todd@
|
|
|
|
These were in effect a duplication of the man page contents. The man page
has been updated to include any small ommissions that were in the
interactive help. Man page tweaks/suggestions from jmc@ and deraadt@.
ok jmc@ deraadt@ krw@ otto@
|
|
|
|
ok krw@ otto@
|
|
ok krw@ jmc@ otto@
|
|
interactive disklabel. Plus realign all lines because of textual changes.
ok krw@ jmc@ otto@
|
|
size chosen by the user, and not the suggested size; move to bigger
blocksize in two steps; ok krw@
|
|
allocated can be treated. We still check if no non-native partition
overlaps the openbsd area, to avoid surprised. ok krw@ lum@
|
|
|
|
|
|
|
|
by growing or shrinking them as desired. can use some tweaks, but
committing now to be able to work in-tree; ok krw@ lum@
|
|
label. newfs wil pick that up, and create a filesystems for which you
actually have a chanche to run fsck successfuly and before your hair
falls out; ok krw@ beck@ deraadt@
|
|
|
|
as neither arrayified not arrayfied exist -- sanctioned dictionaries
like Merriam-Webster ones suggest a few alternatives (e.g., arrayed),
however these made up words are easy to understand and we are not
certain that current ones are not ok.
ok jmc@
|
|
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
|
|
is used. discussed and ok krw@
|
|
ok krw otto
|
|
gets the declarations it uses. ok krw@
|
|
how -A and A will carve up your disk;
help/ok krw deraadt
|
|
ourselves
ok krw
|
|
cleared in both cases. So just do it inside zero_partitions() since
we are looping over all the partitions there anyway.
Should fix an install corner case discovered by todd@.
|
|
bounds information, ie. the zone of the disk that OpenBSD can use. Have each
pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out
this area and pass it up to userland. Then, delete all the same disk parsing
code from disklabel(8) since the kernel passes it up. Lots and lots of - signs
in the disklabel(8) code.
Tested on as many platforms as possible, the fallout will be repaired as time
goes on. To test, use disklabel -d <drive> and validate that the bounds do not
overlap any boot blocks. This same information is used by disklabel -A...
OK for the concept from krw, miod, and drahn
|
|
ok krw@
|
|
Both cause partition sizes to be displayed using a human readable
format with the units automatically chosen by looking at the smallest
partition in the disk label. Remove forceable humanization in 'A'
code and use '-h' in install scripts.
Prodded & ok deraadt@, verbiage tweaks from jmc@
|
|
sectors, not any 'human' unit in force.
|
|
not OpenBSD partitions.
|
|
If we are humanizing then add a comment to 'total sectors' line
rather than replacing 'total sectors' with a new header.
Suggestion and ok deraadt@
|
|
for success. Fix a couple of bugs where errors in checklabel() got
lost.
Make Editor 'q' and 'x' commands exit with 0 (ok) rather than 1.
i.e. non-zero exit value now reserved for failure, not a decision
to leave the disklabel unchanged. This allows the install script
to use the exit value to catch failures to write a disklabel.
|
|
|
|
written, rather than every time editor_alloc() is called. Respect
'-n' for mountpoint info. Reduces surprise appearance of files when
you 'x' out of Editor.
"my sunglasses did not go dark" deraadt@
|
|
smaller alloc table will have fewer mountpoints and the
extras cause confusion. And any info from '/etc/fstab'
that was loaded into mountpoints needs to be zapped too.
Noticed by jim@
|
|
as it adds partitions. What the heck. Set it to MAXPARTITIONS. That is
the new way we are treating d_npartitions everywhere in any case. It is the
max a label can support. partitions which are not there mark themselves off.
ok krw
|