Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 1996 00:29:20 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        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.c src/sbin/newfs mkfs.c newfs.c
Message-ID:  <199612011329.AAA20664@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  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.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612011329.AAA20664>