Mounting / Unmounting CD-Rom

From Leo's Notes
Last edited on 22 April 2013, at 06:42.


Find the device:

egrep 'ad[0-9]|cd[0-9]' /var/run/dmesg.boot
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <NECVMWar VMware IDE CDR10 1.00> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present

Mount the device:

mount -t cd9660 /dev/cd0 /mnt/cdrom

Unmount the device:

umount /mnt/cdrom