I have automount enabled, but it does not work for disks. I have tried mounting manually, but then it gives me an error saying:
mount: /dev/sr0 is write-protected, mounting read only.
mount: /dev/sr0: can't read superblock.
I am trying to burn a .iso file to a blank DVD. I cannot see this disk in any way.
I was looking for a way to quickly mount a USB Drive as READ ONLY. I see lots of issues of people having it mount read only when they do want to but in my case I need to ensure the USB device mounts in a READ ONLY state. Is there a way to set hot keys during USB plug in (CTRL-R for example) to force autmount into READ ONLY?
root@server:~# mount --version
mount from util-linux 2.21.2 (with libblkid support)
root@server:~# mount /dev/sr0 -t iso9660 /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
root@server:~# mount|grep sr0
The first mount executes without complaining. The second mount, lists all mounted devices, except /dev/sr0!