user can eject root mounted cd
Piotr Smyrak
piotr.smyrak at heron.pl
Wed Aug 17 10:31:50 GMT 2005
Hi,
I did not know it is possible, and I am not sure it should be...
Here is a description:
* I manually mount a cd from inside root account
# mount_cd9660 -C iso8859-2 -o ro /dev/cd0 /cdrom
* an icon appears on my user desktop.
* I forget it was mounted as root, click on the icon and choose
Eject
* the cd is ejected, but it still is mounted!
# mount | grep cd
/dev/cd0 on /cdrom (cd9660, local, read-only)
Here is my fstab:
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1d /tmp ufs rw,noexec 2 2
/dev/cd0 /cdrom cd9660 ro,noauto,nodev,nosuid 0 0
/dev/ad0s4 /home ufs rw 0 0
#
/dev/acd0 /home/smyru/mnt/cdrom cd9660 ro,noauto,nodev,nosuid 0 0
/dev/da0s1 /home/smyru/mnt/memstick msdosfs rw,noauto,nodev,nosuid,-m=644,-M=755 0 0
#/dev/da0s1 /home/smyru/mnt/memstick msdosfs
rw,noauto,nodev,nosuid,-D=CP852,-L=pl_PL.ISO8859-2,-m=644,-M=755 0 0
# nie dziala?
#//GABI at asia/smyru /home/smyru/mnt/samba smbfs rw,noauto,nodev,nosuid 0 0
Is that known?
--
Piotr Smyrak
piotr.smyrak at heron.pl
More information about the freebsd-gnome
mailing list