Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 1996 18:51:55 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        scsi@freebsd.org
Cc:        grog@freefall.freebsd.org (Greg Lehey)
Subject:   Re: Setting disk sector size?
Message-ID:  <199607271651.SAA01784@uriah.heep.sax.de>
In-Reply-To: <199607271514.IAA13074@freefall.freebsd.org> from Greg Lehey at "Jul 27, 96 08:14:30 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Greg Lehey wrote:

> specific, it times out).  I think that the problem is that scsi tries
> to access the disk before it reads the mode page.  scsiformat issues a
> direct scsi command, so I assume that I could issue a write command
> and write it back.

Well, scsiformat does nothing very magic, have a look into this shell
script.  But you are using the `control' device, are you?  The regular
(block/character) device will always touch the disk first in
sd_open().  Using the control device won't get you to sd_open() at all
(the open of the control device is caught in the upper layers of the
SCSI driver).

-- 
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?199607271651.SAA01784>