Re: mount: only root can do that??
>
> Hallo,
>
> I am trying to change /etc/fstab to allow the user to mount the floppy and
> the cdrom.
>
> The following lines did not help:
>
> /dev/cdrom /cdrom iso9660 defaults,noauto,ro,user 0 0
> /dev/fd0 /floppy msdos defaults,noauto,user 0 0
>
> Why not?
I don't know about the floppy, but for the cdrom you will have to put
the actual device in the file instead of /dev/cdrom, so you'll get
something like
/dev/hdd /cdrom iso9660 defaults,ro,user,noauto 0 0
The problem with /dev/cdrom is that it is a symbolic link. If you type
mount /cdrom, it will follow the link, and mount (e.g.) /dev/hdd on
/cdrom. But if you try to unmount it, umount only knows that /dev/hdd
is mounted (doesn't know about /dev/cdrom anymore), and fails.
Eric Meijer
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: