| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
change to executable.
|
|
|
|
| |
ok krw@ otto@
|
|
|
|
|
|
|
|
| |
create ffs partitions with invalid fsize and bsize values newfs
will croak on. However, they should be able to set them to whatever
consistent values they want, not just make them smaller.
Also tweak some verbiage.
|
|
|
|
|
|
| |
i.e. when rounding off various values.
ok deraadt@ sthen@
|
|
|
|
|
|
| |
editor. Use logic from calculating fragsize for an auto-allocated
partition. Noted when trying to add a small ffs partition to a 4K
sector device.
|
| |
|
|
|
|
|
|
|
|
| |
interest of rope sales allow the 'X'pert to suppress the rounding of
partition locations to bsize boundaries. Also mention that such rounding
is being done, so as to not surprise the user.
ok otto@ a while ago
|
|
|
|
|
|
|
| |
THEN negate. Fixes issues with 'b' and 'k' size suffixes. Make error
message more clear while here.
Found, and fix provided, by David Imhoff via bugs@. Thanks!
|
| |
|
|
|
|
|
|
|
|
|
| |
place it was missing. Delete now redundant calls to DIOCGDINFO when
getting physical disk info in disklabel(8) and fdisk(8).
Reminded by a fdisk discussion with Andres Perera on tech@.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a ffs frag size can be less than the d_secsize of the disk. Make
sure amd64 writedisklabel() puts the disklabel where readdoslabel()
will read it. Tweak i386/amd64 installboot/biosboot so sectors are
indeed used where sectors are claimed.
Lets me fdisk, newfs, mount and installboot onto 2048 and 4096
byte sector devices. Other filesystem utilites will still hold
surprises.
Note that actually booting from such devices will await BIOSen that
acknowledge such devices as bootable.
ok guenther@
|
| |
|
|
|
|
| |
bit too small. ok krw@
|
|
|
|
| |
partitions); ok krw@
|
|
|
|
| |
in auto-allocated labels. ok krw@ sthen@
|
|
|
|
|
|
|
| |
updates to follow. This will simplify install script fstab
creation.
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
information to the specified file. After every label write, read the
label to get current UID info.
Some internal code cleanup with no intended functional change.
ok deraadt@
|
|
|
|
|
|
|
| |
available partitions (e.g. many spoofed logical partitions) try
the next scheme rather than giving up.
"sane" deraadt@ ok matthew@
|
|
|
|
|
|
|
|
| |
or implicitly, update the start and end sector of the OpenBSD area in the
disklabel with DL_SEBEND/DL_SETBSTART. Otherwise the new bounds would not be
saved to disk.
ok miod@ deraadt@
|
|
|
|
|
|
|
|
| |
of the partition info around to confuse disklabel, newfs, fsck, etc.
From Pedro Martelletto.
ok miod@
|
| |
|
|
|
|
|
|
| |
naming.
ok krw@
|
|
|
|
|
|
| |
uid_print() function.
ok krw@
|
| |
|
|
|
|
|
|
| |
Semantically equivalent version ok beck@ millert@ and tested ckeuthe@.
"just commit" deraadt@
|
|
|
|
| |
from otto
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
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@ 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
|
| |
|
|
|
|
| |
ok krw otto
|
|
|
|
| |
gets the declarations it uses. ok krw@
|
|
|
|
|
| |
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@.
|