CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2011/07/05 11:38:55
Modified files: sbin/disklabel : editor.c sys/arch/amd64/amd64: disksubr.c sys/arch/amd64/stand/biosboot: biosboot.S sys/arch/amd64/stand/installboot: installboot.c sys/arch/i386/stand/biosboot: biosboot.S sys/arch/i386/stand/installboot: installboot.c Log message: More non-512-byte sector groundwork. Don't let disklabel hint that 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@