[Leaplist] Re: HAL and udev scripting

Craig "Fuzzy" Conner fuznacious at gmail.com
Sat Feb 14 15:26:33 EST 2009


>> How do I ask via a scripting
>> what the device name and mount point
>> of the CDROM is (any and every time)
>> no matter what machine and version of Linux?

Courtesy of John Simpson (he did the answer, I just did the typing), try:

grep iso9660 /proc/mounts |awk '{ print $2}'

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list