From owner-freebsd-scsi Mon May 19 01:51:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA10392 for freebsd-scsi-outgoing; Mon, 19 May 1997 01:51:11 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA10386 for ; Mon, 19 May 1997 01:51:06 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA13590; Mon, 19 May 1997 10:50:38 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id KAA03974; Mon, 19 May 1997 10:36:18 +0200 (MET DST) Message-ID: <19970519103618.LH45116@uriah.heep.sax.de> 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 References: <19970518184034.10726@crh.cl.msu.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970518184034.10726@crh.cl.msu.edu>; from Charles Henrich on May 18, 1997 18:40:34 -0400 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)