On Thu, 24 Jan 2002 23:03:40 GMT, Todd Slater staggered into the Black
Sun and said:
Quote:> I'm running Mandrake 8.1. I have a fuji camera that I can connect to
> the computer via usb. I managed to mount this device (dev/sdb1), but
> it seems that it will not mount unless it is connected when I log in
> as a regular user. When I am root, I can mount it in a terminal.
> Is this normal, or should the device be recognized whenever I connect
> it?
The device should be *recognized* whenever you connect it, since it's a
standard USB-storage device. However, just because it's been recognized
by the USB subsystem doesn't mean that the device will be mounted
automagically. You need an automounter daemon or something for that. I
don't recommend that approach, but maybe the automounters have improved
in the last year.
Quote:> I can get it to work, it would just be a lot handier if I didn't
> have to change to root or have the camera connected before I log in.
Edit your /etc/fstab to include a line similar to the following. I
don't know if Mandrake is still using the nonstandard fstab format they
were using a while back, but anyway:
/dev/sdb1 /mnt/camera vfat noauto,user,umask=000 0 0
The "user" makes it so that any normal user can mount or umount the
device. The umask=000 makes everything on the device wide open. Since
FAT filesystems have no concept of permissions anyway, attempting to
force security onto them tends to just get in the way.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL