Date: Fri, 16 Nov 2007 18:05:29 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Scott Long <scottl@samsco.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@deepcore.dk>, Nate Lawson <nate@root.org> Subject: Re: cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h Message-ID: <29786.1195236329@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 16 Nov 2007 11:03:00 MST." <473DDB54.6050007@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <473DDB54.6050007@samsco.org>, Scott Long writes: >Poul-Henning Kamp wrote: >> 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 ? > >Says the man who complains to others about doing things the Right Way >and not adding hacks =-) Oh well. You didn't address the part about the benefit: If the benefit is the same for both approaches, I far prefer the simpler and less intrusive option. -- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29786.1195236329>