Re: Is there any module to get the cdrom infomation?
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Wed, 30 Jul 2008 11:10:34 +0100
Joost Diepenmaat wrote:
"lofenee" <lofenee@xxxxxxxxx> writes:
I want to check whether a cdrom node under /dev actually exists.
Well, the *node* exists if "-e $path_to_node" returns true. Do you
also care if there is an actual drive there or if there's a readable
drive in the disc?
I'm assuming linux behaviour, here.
In which case reading 'files' like /proc/ide/hdc/model might help.
--
RGB
.
- References:
- Re: Is there any module to get the cdrom infomation?
- From: Joost Diepenmaat
- Re: Is there any module to get the cdrom infomation?
- Prev by Date: Bug found in Open Perl IDE perl5db.pl module
- Next by Date: Re: Is there any module to get the cdrom infomation?
- Previous by thread: Re: Is there any module to get the cdrom infomation?
- Next by thread: Re: Is there any module to get the cdrom infomation?
- Index(es):
Relevant Pages
|