Peter Miller writes:
> On Wed, 2009-07-29 at 09:20 +1000, Peter Miller wrote:
>
>> Today's quiz is related to ENOMEDIUM.
>
> And the answer is
> O_NONBLOCK
>
> If, on Linux, you open /dev/cdrom with O_NONBLOCK, you can open a CD-ROM
> drive that contains no disc. This is also true for tap
2009/7/29 Peter Miller :
> On Wed, 2009-07-29 at 09:20 +1000, Peter Miller wrote:
>
>> Today's quiz is related to ENOMEDIUM.
>
> And the answer is
>
> O_NONBLOCK
>
> If, on Linux, you open /dev/cdrom with O_NONBLOCK, you can open a CD-ROM
> drive that contains no disc. This is also true for
On Wed, 2009-07-29 at 09:20 +1000, Peter Miller wrote:
> Today's quiz is related to ENOMEDIUM.
And the answer is
O_NONBLOCK
If, on Linux, you open /dev/cdrom with O_NONBLOCK, you can open a CD-ROM
drive that contains no disc. This is also true for tape devices. The
same code appears i