Re: Is there any module to get the cdrom infomation?



"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.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
.