0

I am trying to locate, identify and mount, my MacBook CD drive, an exercise in my study of the Linux Command Line. I have found useful information, but nothing seems to work.

I have attempted to locate and identify the CD drive using,

mount,
sudo tail -f /var/log/syslog, 
lsblk, 
blkid, 
ls /dev

I have found information that identifies the drive (sr0), but it has no mountpoint because I can't mount it through,

sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom

Regardless of whether the CD drive is viewed as fixed or removable, (which would impact on which directory it should be mounted - media [permanent], or mnt [temporary]), I am unable to mount it. Further information has shed light on "gvfs", but not enough to enable me to locate the drive.

I am completely at a loss as to how to locate and mount the CD drive. Interestingly, using the graphical filesystem, the drive is visible when a disc is added, but it is not possible to write to the disc because there is no write facility in the right-click options. I can, however, use the shortcut of drag-and-drop, which seems to work, but I don't know if it actually does work, because, while their seems to be content on the disc, the properties option shows the disc to be of unknown capacity and availability, and the filesystem can't determine how much of the disc is used.

Help will be greatly appreciated.

  • Interestingly, I have been able to write to a CD-RW disk (how do I know? I can see where on the disk has been written across), but I can't read the disk, because the drive can't be mounted. I used 'wodim cdrw ...' command to achieve writing to disk. Also of interest is that using 'wodim --devices', the sr0 is listed as /dev/sg1, which apparently, is not a block device. I really could do with some help here, as I have searched the internet and am unable to find a solution to the problem. – Stan Sep 29 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.