Ho coders,

Today's quiz is related to ENOMEDIUM.

Quite apart from the fact that huge numbers of English speakers are not
even aware the "media" is a plural, let alone that "medium" is its
singular, the strerror for this one ("No medium") is so terse as to be
almost completely free of content.

So when open(2) returns ENOMEDIUM it would be nice if libexplain could
expand a little on this, based on the type of drive it is.
E.g.:

... because there is no disk in the floppy drive
... because there is no disc in the CD-ROM drive
... because there is no tape in the tape drive
... because there is no memory stick in the card reader

I'm reading wodim source, and maybe hald after that, to see how they do
it (obviously open(2) is no help), but I would be grateful to anyone who
can point me at the right place to RTFM.  (Linux specific is OK, maybe
inevitable.)


-- 
Regards
Peter Miller <[email protected]>
/\/\*        http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders

Reply via email to