DVD device detectort
Dear all,
I wrote a script that it detect my DVD devices.But i have problem when i have more one devices.
Suppose my script founds two dvd devices for example : /dev/hdc & /dev/hdd
How i understand which device consists of DVD.Because my program need to play DVD.my script must knows which device is ready for now.It mean that which device has a DVD-ROM without eject & put a DVDROM.
Please help me....
|