From owner-cvs-src@FreeBSD.ORG Mon Nov 19 16:09:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37DC316A417; Mon, 19 Nov 2007 16:09:31 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E635213C468; Mon, 19 Nov 2007 16:09:30 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 9F0132089; Mon, 19 Nov 2007 17:09:07 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 876912083; Mon, 19 Nov 2007 17:09:07 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 6B7348448D; Mon, 19 Nov 2007 17:09:07 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Poul-Henning Kamp" References: <29732.1195235967@critter.freebsd.dk> Date: Mon, 19 Nov 2007 17:09:07 +0100 In-Reply-To: <29732.1195235967@critter.freebsd.dk> (Poul-Henning Kamp's message of "Fri\, 16 Nov 2007 17\:59\:27 +0000") Message-ID: <86lk8umd3w.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Scott Long , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Nate Lawson , =?utf-8?Q?S=C3=B8ren?= Schmidt Subject: Re: cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 16:09:31 -0000 "Poul-Henning Kamp" writes: > In message <473DD94D.8050605@samsco.org>, Scott Long writes: > > But then why not have g_access be able to communicate the ability to > > access the device independent from the ability to access the media? > > Seems like both of these questions are "access" questions. > Because that is a lot more work for no benefit I can see ? There is another closely related problem which also needs fixing and which also requires GEOM to distinguish between device and media: GEOM's behaviour when the media changes while the device is open (e.g. burning a CD). AFAIK, it is not currently possible to properly fixate a CD-R in FreeBSD; the CDRIOCFIXATE ioctl always fails because once the media has changed (from blank to non-blank), all access fails until you close and reopen the device. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no