Cant do "mount/umount" on USB flash drive as regular user
Hello!
This is my problem: can't mount USB flash drive as regular user. When I try to mount error msg appears: Code:
Could not mount device Code:
ls -l /dev/sda1 This is my fstab: Code:
/dev/hda3 swap swap defaults 0 0 Does anybody knows where is the problem? <Slackware 10.2, kernel 2.4.33> Thanks!! |
Try this line in your /etc/fstab
/dev/sda1 /mnt/usb vfat noauto,users,rw 0 0 |
|
It works!!
I changed it into: /dev/sda1 /mnt/usb vfat noauto,users,rw 0 0 Thanks!! |
howto fstab?
|
As a follow up, you might consider using a udev device instead of /dev/sda1 to mount your drive. If you have things set up properly (a topic about which google can point you to adequate information) then you can always mount a particular device on a particular mount point.
For example, when you plug in your digital camera and it comes up as /dev/sda1 also, you don't end up mounting it on /media/thumbdrive. udev can give it a different node name based on lots of parameters, manufacturer or serial number for example. You could have udev create a node /dev/camera for the camera, /dev/thumbdrive for the thumbdrive, and then in fstab you would reference /dev/camera and /dev/thumbdrive instead of /dev/sda1. I've found that convenient anyway... --Chad |
All times are GMT -5. The time now is 04:25 AM. |