[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange umount behaviour



On Mon, Oct 28, 2002 at 12:19:41PM +0100, Lukas Ruf wrote:
> Dear all,
> 
> very strange to me I have problems umounting a previously mounted
> device.  I make use of unstable.
> 
> The output is:
> komsys-pc-lr:~!75> mount
> rootfs on / type rootfs (rw)
> /dev/root on / type ext3 (rw)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda3 on /var type ext3 (rw)
> /dev/hda5 on /home type ext3 (rw)
> /dev/hda6 on /www type ext3 (rw)
> /dev/hda7 on /scratch type ext3 (rw)
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> komsys-pc-lr:~!76> mount /cdrom
> komsys-pc-lr:~!77> umount /cdrom
> umount: only root can unmount /dev/cdrom from /cdrom
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> komsys-pc-lr:~!78> ls -l /bin/*mount*
> -rwsr-xr-x    1 root     root        72488 Oct  7 17:46 /bin/mount*
> -rwsr-xr-x    1 root     root        36680 Oct  7 17:46 /bin/umount*
> 
> 
> Does anyone know why and how I can solve this problem?

What are the permissions on /dev/cdrom (or more precisely: the device
file that /dev/cdrom is a symlink to)?

Do you have read/write permissions to it?

-- 
Karl E. Jørgensen
karl@jorgensen.com        http://karl.jorgensen.com
==== Today's fortune:
Under every stone lurks a politician.
		-- Aristophanes



Reply to: