CDROM question
Cole Tuininga
colet at code-energy.com
Mon Aug 9 15:56:01 EDT 2004
Random question for y'all - does anybody know of a common and relatively
simple way to determine:
A) If a given cdrom drive is open or closed?
B) If there is a disc in the drive?
I'm looking for something simple on the order of:
somecommand -probe /dev/cdrom
If the answer is that I have to try mounting the CD, etc, etc, it's more
work than it's worth. This isn't a big deal, I was mostly just curious.
Thanks in advance...
--
Computers are like air conditioners:
They stop working properly when you open windows.
Cole Tuininga
Lead Developer
Code Energy, Inc
colet at code-energy.com
PGP Key ID: 0x43E5755D
More information about the gnhlug-discuss
mailing list