From owner-cvs-sbin Sun Dec 1 05:44:18 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA15161 for cvs-sbin-outgoing; Sun, 1 Dec 1996 05:44:18 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA15147; Sun, 1 Dec 1996 05:44:07 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id AAA20664; Mon, 2 Dec 1996 00:29:20 +1100 Date: Mon, 2 Dec 1996 00:29:20 +1100 From: Bruce Evans Message-Id: <199612011329.AAA20664@godzilla.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 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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