| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
setroot(), as this neuters RAIDframe autoconfiguration; found the hard way
by naddy@
|
|
|
|
| |
for RB_DFLTROOT; ok miod
|
|
|
|
| |
ok tedu@ kettenis@
|
| |
|
|
|
|
| |
ok miod@ krw@
|
|
|
|
| |
eyeballed and ok dlg@
|
|
|
|
|
|
|
| |
under #ifdef DEBUG. Adjust the verbiage. Some minor tweaks while in
the area.
ok deraadt@
|
|
|
|
|
|
| |
DISKPART(dev). Thus making the idiom the same everywhere.
pointed out by deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
|
|
|
|
|
|
|
| |
to support hotplug media on most architectures. disklabel setup and
verification done using new helper functions. Disklabels must *always*
have a correct checksum now. Same code paths are used to learn on-disk
location disklabels, to avoid new errors sneaking in. Tested on almost all
cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
|
|
|
| |
if it was ok beforehands)
|
|
|
|
|
| |
bounds_check_with_label(). Tweak error path to eliminate duplicate
code.
|
|
|
|
|
|
|
|
| |
routines (alpha, vax) prove to be not worth keeping. Move
bounds_check_with_label() into the MI world. Eliminate unreliable and
almost certainly useless checks for overwriting a disklabel.
After discussion with deraadt@
|
| |
|
| |
|
|
|
|
|
| |
implimentations were simply either missing code, or spacing and such.
setdisklabel() can become MI now.
|
| |
|
| |
|
|
|
|
| |
also spotted one more)
|
|
|
|
|
|
|
| |
type of all variables to daddr64_t. this includes the APIs for XXsize()
and XXdump(), all range checks inside bio drivers, internal variables
for disklabel handling, and even uvm's swap offsets. re-read numerous
times by otto, miod, krw, thib to look for errors
|
| |
|
| |
|
|
|
|
|
| |
to size. tested on almost all machines, double checked by miod and krw
next comes the type handling surrounding these values
|
|
|
|
| |
have contradictory information in their cyl-based labels
|
|
|
|
|
|
|
|
| |
convert version 0 to version 1 disklabels.
Suggested by deraadt@.
ok deraadt@ otto@
|
|
|
|
|
|
|
|
|
|
| |
1) All partitions must start before the end of the disk. 2) All
partitions must end at or before the end of the disk.
Partitions not satisfying these constraints will be truncated and
marked FS_UNUSED.
ok otto@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
free room in struct partition by packing fragment size and
fragments/block more tighlty and use the resulting space to make
offset and size 48 bits. For the disk part we use spare fields in
struct disklabel. Kernel converts in-mem copy of the on-disk
label if needed, disklabel(8) writes new version.
We are careful to only change fields not used by bootloaders.
Conception of basic scheme by deraadt.
ok deraadt@ krw@
|
| |
|
| |
|
|
|
|
|
|
|
| |
root on sd0a swap on sd0b dump on sd0b
we can skip printing:
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
ok miod, no objections from other lazy slackers
|
| |
|
|
|
|
| |
them, they are still in cvs.
|
|
|
|
|
| |
setting that pre-setroot() code did (for instance a network boot)
found by phessler, tested by reyk
|
| |
|
|
|
|
|
|
| |
machines. Instead -- build one solid clean MI version, and thenchange all
the architectures to use it. ok various people, tested on almost all cases.
(it is a 10094 line diff..)
|
|
|
|
|
|
| |
weren't used recursively anyway.
tested by hsoexer@ fkr@ ok pedro@
|
|
|
|
| |
ok pedro@
|
| |
|
| |
|
|
|
|
|
|
| |
of panics and bugfixes. Access curproc directly, do not expect a process
pointer as an argument. Should fix many "process context required" bugs.
Incentive and okay millert@, okay marc@. Various testing, thanks.
|
|
|
|
| |
no change in compiler assembly output.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.
It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code. Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.
ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@
|
|
|
|
|
| |
looked at by various, testing henning@ mcbride@ dan weeks
mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
accessed with BUFQ macros, bufq structs support extensible, potentially
changable algorithms and queue formats. the current default scheme
should support nice priority based queuing, but is missing some vfs_bio.c
support.
only on wd.c for now, other drivers are easy converts.
as a side bonus, this makes the driver code look cleaner.
idea for the name comes from netbsd, but this scheme is incompatible.
thanks to various people for testing.
ok grange@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|