Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 1997 10:36:18 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-scsi@FreeBSD.ORG
Cc:        henrich@crh.cl.msu.edu (Charles Henrich)
Subject:   Re: scsi library interface
Message-ID:  <19970519103618.LH45116@uriah.heep.sax.de>
In-Reply-To: <19970518184034.10726@crh.cl.msu.edu>; from Charles Henrich on May 18, 1997 18:40:34 -0400
References:  <19970518184034.10726@crh.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
As Charles Henrich wrote:

> Who wrote the scsi interface commands? (e.g. scsi_open, scsi_build
> ..) I need to bang on them with some questions.

Peter Dufault.  He's also got a revamped library which he was asking
people to test.  It's on hub's anon ftp area, if i'm not mistaken.

> Also, in general when do you use raw mode devices vs. block mode vs
> the .ctl devices?

Buffered (`block') devices: to mount a filesystem over them.  Nothing
else.  (Well, swapon(8) is in the same boat.)

Raw (`character') devices: any other regular (i.e. read(2)/write(2))
IO.

Control devices: raw SCSI commands.  State of the device doesn't
matter then, e.g. you can open a control device for an unformatted
disk, but you can't open the raw or buffered device.

-- 
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?19970519103618.LH45116>