Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 1996 15:47:46 -0700 (PDT)
From:      Greg Lehey <grog>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        scsi
Subject:   Re: Setting disk sector size?
Message-ID:  <199607282247.PAA15577@freefall.freebsd.org>
In-Reply-To: <199607281959.VAA08386@uriah.heep.sax.de> from "J Wunsch" at Jul 28, 96 09:59:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> As Peter Dufault wrote:
> 
> > > Changeable parameters are: 
> > > 
> > > Block descriptor 
> > >   Block length 
> 
> > I have to leave here now - I have a ride waiting.  Later I'll put
> > together a script for you to change that if you don't have the
> > appropriate docs.
> 
> Since Peter left, i think it's fairly easy:
> 
> 	scsi -f /dev/rsd0.ctl -c "15 10 0 0 v:i1 0" 12 \
> 		-o 12 "0 0 0 8  0 0:i3 0 v:i3" 512
> 		       ^^^^^^^  ^^^^^^^^^^^^^
> 		          |           |______ block descriptor:
> 		          |                    density code = 0
> 		          |                    number of blocks = 0
> 		          |                    reserved
> 		          |                    block length = 512
> 		          |
> 		          |__________________ buffer header:
> 		                               mode data len (reserved)
> 		                               medium type (default = 0)
> 		                               device-specific parameter
> 		                               block descriptor length = 8

Well, this one has the undoubted advantage of not returning an error
message :-) Looking at the output of scsiformat, it still claims 514
byte sectors, but maybe I'm looking in the wrong place.  In any case,
I've tried formatting it, and we'll see in an hour or so what it has
done.  I'll keep you posted.

Greg




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