From owner-freebsd-scsi Mon May 19 10:42:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA06515 for freebsd-scsi-outgoing; Mon, 19 May 1997 10:42:32 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA06509 for ; Mon, 19 May 1997 10:42:28 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id NAA01270; Mon, 19 May 1997 13:42:00 -0400 (EDT) Message-ID: <19970519134159.60193@crh.cl.msu.edu> Date: Mon, 19 May 1997 13:41:59 -0400 From: Charles Henrich To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: scsi library interface References: <19970518184034.10726@crh.cl.msu.edu> <19970519103618.LH45116@uriah.heep.sax.de> <19970519110533.07999@crh.cl.msu.edu> <19970519174516.AT53845@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <19970519174516.AT53845@uriah.heep.sax.de>; from J Wunsch on Mon, May 19, 1997 at 05:45:16PM +0200 X-Operating-System: FreeBSD 2.2-970422-RELENG Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On the subject of Re: scsi library interface, J Wunsch stated: > Needless to say, no userland program is meant to issue READ or WRITE > commands to a CD-ROM drive at all... I would be much more happy if > you would think about integrating all this into the type drivers. > I've already exchanged a few ideas with Jean-Marc Zucchoni lately, who > became very active on the CD-R front. Reading and writing devices in > userland when there's a real device driver for it violates the > layering principles. The only problem is, you need to code different mechanisms for reading this kind of data for each CD-ROM manufacturer out there. Adding these tables for this special end case seems pointless, and you also make your life much more painful for some mechs who require switching states depending on if reading CDDA or not. -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich