CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/06/04 15:13:03
Modified files:
sys/arch/alpha/alpha: disksubr.c
sys/arch/hp300/hp300: disksubr.c
sys/arch/hppa/hppa: disksubr.c
sys/arch/luna88k/luna88k: disksubr.c
sys/arch/macppc/macppc: disksubr.c
sys/arch/sgi/sgi: disksubr.c
sys/arch/socppc/socppc: disksubr.c
sys/arch/sparc/sparc: disksubr.c
sys/arch/sparc64/sparc64: disksubr.c
sys/arch/vax/vax: disksubr.c
sys/sys : disklabel.h
sys/kern : subr_disk.c
lib/libc/gen : disklabel.c
sbin/disklabel : Makefile disklabel.c editor.c extern.h
Log message:
Recycle four ancient fields in the disklabel structure, replacing them with
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