Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 1996 21:59:10 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        scsi@freebsd.org
Cc:        grog@freefall.freebsd.org
Subject:   Re: Setting disk sector size?
Message-ID:  <199607281959.VAA08386@uriah.heep.sax.de>
In-Reply-To: <199607280945.FAA01186@199.232.245.2> from Peter Dufault at "Jul 28, 96 05:45:03 am"

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

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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