From owner-cvs-sys Sun Dec 1 03:25:50 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA10672 for cvs-sys-outgoing; Sun, 1 Dec 1996 03:25:50 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA10646; Sun, 1 Dec 1996 03:25:40 -0800 (PST) Date: Sun, 1 Dec 1996 03:25:40 -0800 (PST) From: Soren Schmidt Message-Id: <199612011125.DAA10646@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: 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-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/12/01 03:25:39 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. There also exist some patches for the msdos filesys code, but I havn't been able to test those (yet). John Gumb (john@talisker.demon.co.uk) Barry Scott (barry@scottb.demon.co.uk) Revision Changes Path 1.31 +3 -1 src/sys/kern/subr_diskslice.c 1.27 +3 -3 src/sys/ufs/ufs/ufs_disksubr.c 1.24 +49 -5 src/sys/scsi/od.c 1.96 +80 -7 src/sys/scsi/sd.c 1.13 +24 -5 src/sbin/i386/fdisk/fdisk.c 1.12 +3 -1 src/sbin/newfs/mkfs.c 1.14 +15 -2 src/sbin/newfs/newfs.c