From owner-cvs-all@FreeBSD.ORG Fri Nov 16 17:59:39 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34C3E16A41A; Fri, 16 Nov 2007 17:59:39 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3418D13C469; Fri, 16 Nov 2007 17:59:31 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 0908717107; Fri, 16 Nov 2007 17:59:27 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id lAGHxRJH029733; Fri, 16 Nov 2007 17:59:27 GMT (envelope-from phk@critter.freebsd.dk) To: Scott Long From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 16 Nov 2007 10:54:21 MST." <473DD94D.8050605@samsco.org> Date: Fri, 16 Nov 2007 17:59:27 +0000 Message-ID: <29732.1195235967@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, =?ISO-8859-1?Q?S=F8ren_Schmidt?= , Nate Lawson Subject: Re: cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 17:59:39 -0000 In message <473DD94D.8050605@samsco.org>, Scott Long writes: >> The simplest way to do this, is probably to overload ENOENT or some >> other currently undefined errno for this effect. > >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 ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.