On Fri, 11 Apr 1997, Felix Almeida wrote: > Hi! > > I've been tried to allow the normal users in my system to mount a CD-ROM > but with no success... I even put the following line in my /etc/fstab: > > /dev/cdrom /cdrom iso9660 ro,noauto,user,unhide 0 0 > > Where /dev/cdrom is a symbolic link to /dev/scd0. My /cdrom directory > has the following permitions: > > drwxr-xr-x 2 root root 1024 Apr 11 10:23 /cdrom/ > > The problem is that the users can mount the CD but cannot umount it! The > "mount /cdrom" works fine but "umount /cdrom" gives the error message: > > umount: /cdrom mount disagrees with the fstab > > I don't know if this can make diference, but I have CD-ROM support as a > module in the kernel (sr_mod and isofs). > > Please, help-me! :~( > > > Thanks, > Felix Almeida. > > I've had something very similar. I have a SoundBlaster CD (old!) which has a device name /dev/sbpcd. This is linked to /dev/cdrom.
The problem is that mount and umount cannot always follow links: In /etc/fstab and /etc/mtab use this line /dev/scd0 /cdrom iso9660 ro,noauto,user 0 0 ^^^^ so you have the true device name: it works for me. Now, if I type mount /cdrom as a user, there is a short wait as the module loads then I can cd /cdrom and use any files, then umount /cdrom and the module unloads. If no cdrom is mounted /cdrom is just an empty mount point and shows two directories. ls -al shows: drwxrwsr-x 2 root cdrom 1024 Sep 14 1995 . drwxr-xr-x 19 root root 1024 Apr 8 16:50 .. Hope this helps, Andy Andrew Martin Adrian Cater (Andy) +44 1242 672705 [EMAIL PROTECTED]