From owner-freebsd-current Mon Feb 23 14:59:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04719 for freebsd-current-outgoing; Mon, 23 Feb 1998 14:59:06 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04698 for ; Mon, 23 Feb 1998 14:59:02 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id OAA00974; Mon, 23 Feb 1998 14:58:15 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199802232258.OAA00974@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mike Smith cc: The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: ATAPI related patch .. In-reply-to: Your message of "Mon, 23 Feb 1998 14:18:42 PST." <199802232218.OAA12635@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 23 Feb 1998 14:58:15 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, In the past we have supported reading Video CDs as well as audio CD via the low level scsi routines. So yes I can read audio off a cd via a low level ioctl call. I am not objecting to your comment just merely wish to express that there is already a precedence for doing i/o with ioctls. Amancio > > I thought that the low level scsi i/o routines did just that io with > > ioctls... > > The low-level SCSI I/O routines need a freeform I/O approach, and > they're designed for casual poking at things in an out-of-band fashion, > sort of like a SCSI geek-port. > > Luigi's hack is for CDDA (sucking audio off the CD) acccess; this is > basically bulk data transfer. Being a read-like operation, it's better > handled as such. > > With a little more work, once you support audio accesses in the driver > properly, you become able to produce a "cdrom audio FS", where tracks > on the disk appear as files when the disk is mounted. > > I appreciate that Luigi's hack is expedient, and as I said if there's a > strong precedent (ie. binary compatability issues) then sure, we should > support it. > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message