Date: Sun, 1 Dec 1996 17:35:09 +0100 (MET) From: sos@FreeBSD.org To: bde@zeta.org.au (Bruce Evans) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, sos@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern subr_diskslice.c src/sbin/i386/fdisk fdisk.c src/sys/ufs/ufs ufs_disksubr.c src/sys/scsi od.c sd.cO Message-ID: <199612011635.RAA23486@ravenock.cybercity.dk> In-Reply-To: <199612011329.AAA20664@godzilla.zeta.org.au> from "Bruce Evans" at Dec 2, 96 00:29:20 am
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Bruce Evans who wrote: > > > > Modified: sys/kern subr_diskslice.c > > sys/ufs/ufs ufs_disksubr.c > > sys/scsi od.c sd.c > > sbin/i386/fdisk fdisk.c > > sbin/newfs mkfs.c newfs.c > > Log: > > This update adds the support for != 512 byte sector SCSI devices to > > the sd & od drivers. There is also slight changes to fdisk & newfs > > in order to comply with different sectorsizes. > > Currently sectors of size 512, 1024 & 2048 are supported, the only > > restriction beeing in fdisk, which hunts for the sectorsize of > > the device. > > This is based on patches to od.c and the other system files by > > John Gumb & Barry Scott, minor changes and the sd.c patches by > > me. > > Urk. This version does the scaling in the wrong place. The scaling > belongs in subr_diskslice.c, not in dozens of drivers. I was planning to > use the version by akiyama@kme.mei.co.jp (Shunsuke Akiyama) in the kernel. This works for me, but feel free to change it to something better.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612011635.RAA23486>