From owner-freebsd-scsi Sat Jul 27 12:19:47 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA27053 for freebsd-scsi-outgoing; Sat, 27 Jul 1996 12:19:47 -0700 (PDT) Received: (from grog@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA27047; Sat, 27 Jul 1996 12:19:45 -0700 (PDT) From: Greg Lehey Message-Id: <199607271919.MAA27047@freefall.freebsd.org> Subject: Re: Setting disk sector size? To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 27 Jul 1996 12:19:45 -0700 (PDT) Cc: scsi In-Reply-To: <199607271732.TAA02116@uriah.heep.sax.de> from "J Wunsch" at Jul 27, 96 07:32:58 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Greg Lehey wrote: > > > Unfortunately, 'scsi -f > > /dev/rsd0.ctl -m 3 -P 3 -e' gives me a blank file to edit. > > Bad luck then. This means there are no editable fields at all on this > mode page. (scsi -e only offers you those fields that are marked as > writable by the device.) Well, according to scsiformat, the sector size *is* changeable. I've gone through all four -P values, and discovered that the default value is, in fact, 512. Obviously one alternative would be to reset the disk to its default value. Does anybody have any ideas on that? -P 1 (changeable values) lists all the fields, but all are set to 0. Does this mean anything? Greg