Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Originally posted by flux* 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.
Does it work if you specify the filesystem type:
mount -t vfat /mnt/usbkey
What's the permissions of the actual raw device as well in /dev ?
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
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.
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
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 . not that it would have ruined anything . 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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.