How do I check if a CD is mounted Linux?

How do I check if a CD is mounted Linux?
Answer
Usually on Linux, when an optical disc is mounted, the eject button is disabled. To determine whether anything is mounted in the optical drive, you can check the contents of /etc/mtab and look for either the mount point (e. g. /mnt/cdrom ) or the device for the optical drive (e. g. /dev/cdrom ).
 

Tìm kiếm

Back
Top