usb in /etc/fstab
I've for a while mounted my camera whit "#mount /dev/sda1 /mnt/usbkey", but I'd like my home-user to do the same. I've added the line "/dev/usbkey /mnt/usbkey vfat noauto,users,exec,sync,umask=000 0 0" to /etc/fstab, and I've made a syslink from /dev/usbkey to /dev/sda1.
But when I try to "$ mount /mnt/usbkey" It gives me "mount: /dev/usbkey is not a valid block device" I've also tried with out the symlink and "/dev/sda1 /mnt/sda1 vfat..." but it don't help. |
Re: usb in /etc/fstab
Quote:
mount -t vfat /mnt/usbkey What's the permissions of the actual raw device as well in /dev ? |
"mount -t vfat /mnt/usbkey" just gives me the same as "mount --help"
Quote:
|
i think this could be your problem:
/dev/usbkey /mnt/usbkey vfat noauto,USERS,exec,sync,umask=000 0 0" the all caps bit i think is the problem. change it to user, not users, and see if it works. |
I've changed it, but it don't seems to work :(
|
so, youre saying that it mounts fine as root, but it wont work as regular user? i hope you didnt make my change in all caps :D. not that it would have ruined anything :D. anyhoo, try this command:
mount -t vfat /dev/the_camera_device_name /mnt/usbkey and if that doesnt work, are you sure you have vfat support and scsi generic support compiled into the kernel or as modules? |
All times are GMT -5. The time now is 10:15 AM. |