[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	otto_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/05/29 00:28:16

Modified files:
	sys/sys        : disklabel.h 
	lib/libc/gen   : disklabel.c 
	sys/arch/alpha/alpha: disksubr.c 
	sys/arch/amd64/amd64: disksubr.c 
	sys/arch/arm/arm: disksubr.c 
	sys/arch/aviion/aviion: disksubr.c 
	sys/arch/hp300/hp300: disksubr.c 
	sys/arch/hppa/hppa: disksubr.c 
	sys/arch/hppa64/hppa64: disksubr.c 
	sys/arch/i386/i386: disksubr.c 
	sys/arch/landisk/landisk: disksubr.c 
	sys/arch/luna88k/luna88k: disksubr.c 
	sys/arch/mac68k/mac68k: disksubr.c 
	sys/arch/macppc/macppc: disksubr.c 
	sys/arch/mips64/mips64: disksubr.c 
	sys/arch/mvme68k/mvme68k: disksubr.c 
	sys/arch/mvme88k/mvme88k: disksubr.c 
	sys/arch/mvmeppc/mvmeppc: disksubr.c 
	sys/arch/sparc/sparc: disksubr.c 
	sys/arch/sparc64/sparc64: disksubr.c 
	sys/arch/vax/vax: disksubr.c 
	sys/arch/sparc64/stand/ofwboot: ofdev.c 
	sys/kern       : subr_disk.c 
	sys/miscfs/specfs: spec_vnops.c 
	sbin/disklabel : disklabel.c editor.c 
	sbin/fsck_ext2fs: setup.c 
	sbin/fsck_ffs  : setup.c 
	sbin/growfs    : growfs.c 
	sbin/newfs     : mkfs.c newfs.c 
	sys/adosfs     : advfsops.c 

Log message:
Updated disklabel format to support larger disks and partitions. We
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@

Visit your host, monkey.org