Mounting digital camera, /etc/fstab joke ?

Hal Burgiss hal at burgiss.net
Thu Dec 11 14:10:58 UTC 2003


On Thu, Dec 11, 2003 at 12:45:33PM +0100, Martin Andersen wrote:
> Hello.
> 
> When I turn on my Sony DSC-P31 USB camera, a new
> line is added to /etc/fstab:
> /dev/sda1        /mnt/camera    auto    noauto,owner,kudzu 0 0
> 
> Very nice, but the system doesn't mount the camera. 

Yes, because you have it configured not to: with 'noauto'.

> nothing. So I need to do mount -t vfat /dev/sda1 /mnt/camera for getting
> access to the camera (only as root).
> 
> So what is the point of the line in /etc/fstab ?

It sets defaults for the mount command, which you can override if you
want.

> How can I get the system to mount the camera as non-root without
> writing something everytime I plug it in ? 

You can try changing 'noauto,owner' to 'auto,user'. Not sure what
happens if the camera is not connected.

-- 
Hal Burgiss
 





More information about the fedora-list mailing list