Re: Device umount on SuSE Linux 9.1
From: K. Doniger (k.doniger_at_ieee.org)
Date: Mon, 04 Oct 2004 00:07:02 GMT
Thanks for the response. The fstab lines on my machine look more like:
/dev/cdrom /media/cdrom subfs
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
(This is actually one long line split into two.) The fourth field is
more complicated than in your example. My inclination is to add "users"
to it. Will removing "exec" stop the automatic mounting at login? Can
I remove some of the other pieces in the 4th field?
PS. What's with this "Black Sun" thing?
Dances With Crows wrote:
> On Sun, 03 Oct 2004 23:07:53 GMT, K. Doniger staggered into the Black
> Sun and said:
>>I recently installed SuSE 9.1 Personal and might have a problem with
>>devices. The OS will not let me (as nonroot) umount the CD ROM, the
>>floppy, or the USB jump drive. I get a message saying that only root
>>has the privilege to do this.
> Yep. Look at the following fstab lines. The top one is wrong, the
> bottom one is right:
> /dev/scd0 /mnt/cdrom auto ro 0 0
> /dev/scd0 /mnt/cdrom auto noauto,ro,users 0 0
> ...note the differences in the 4th field. "noauto" means that the
> device will not be automatically mounted at boot time. "users" means
> that any user can mount and umount the device.
>>It will also not let me eject a CD. I assume that's because it is
>>It looks as though everything in /etc/fstab is automatically
>>mounted at login.
> Fix that.
>>I can physically remove the media without umounting or ejecting. I've
>>heard this is not desirable for jump drives, as they must complete any
>>file transfers before removal.
> Fix that too. Add "noauto,users" to the 4th field of all the removable
> media devices you have in /etc/fstab, and things will work better for
> you. HTH,