cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h

Poul-Henning Kamp phk at
Fri Nov 16 10:05:38 PST 2007

In message <473DDB54.6050007 at>, Scott Long writes:
>Poul-Henning Kamp wrote:
>> In message <473DD94D.8050605 at>, 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 at 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.

More information about the cvs-src mailing list