On 11/12/13 20:48, Laurence Rochfort wrote:
Thanks Fred,

/cdrom is the mount point, so no I don't think it should be a symlink.

The command is:

$ mount /dev/cd0a /cdrom
mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted

Hi Laurence,

You are right it should just be a node so not a symlink.

The issue is with root owning /cdrom - but if you add /cdrom entry to fbtab:

port:fred ~> tail -2 /etc/fbtab
#/dev/ttyC0     0600    /dev/fd0
/dev/ttyC0      0600    /cdrom

Then the user who logs in can then mount /cdrom

port:fred ~> mount -tcd9660 /dev/cd0a /cdrom
port:fred ~> mount
/dev/sd0a on / type ffs (local)
/dev/sd0k on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev)
/dev/sd0h on /usr/local type ffs (local, nodev)
/dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
/dev/sd2i on /mnt/usbpen type msdos (local)
/dev/cd0a on /cdrom type cd9660 (local, nodev, nosuid, read-only)

I had to read mount(8) and fbtab(5) to work it out...

hth

Fred

Reply via email to