I have small shell script that used to detect that a cd had been
inserted by looking at

/proc/ide/hdc/capacity

Well it's been so long since I used it, that the 2.6 kernel has made
this look like historic cruft.

Anyone have any way's to detect that cd has been inserted?

I've poked around the /proc and /sys directories and I haven't found
anything interesting yet.

This is running ubuntu-server intrepid.

Thanks,

Sean
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to