Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-09-2007, 08:45 AM   #1
LQ Newbie
Registered: May 2007
Distribution: Slackware 12.0, Fedora Core 7
Posts: 17

Rep: Reputation: 0
Cant do "mount/umount" on USB flash drive as regular user

This is my problem: can't mount USB flash drive as regular user.
When I try to mount error msg appears:
Could not mount device
The reported error was:
mount: only root can mount /dev/sda1 on /mnt/usb
When I execute:
ls -l /dev/sda1
brwxrwxrwx  1 root disk 8, 1 1995-04-29 12:33 /dev/sda1
because I have already set '777' on /dev/sd1.

This is my fstab:
/dev/hda3        swap             swap        defaults         0   0
/dev/hda9        /                ext3        defaults         1   1
/dev/hda10       /home            ext3        defaults         1   2
/dev/hda8        /tmp             ext3        defaults         1   2
/dev/hda6        /usr             ext3        defaults         1   2
/dev/hda7        /var             ext3        defaults         1   2
/dev/hda1        /win_c           ntfs        ro               1   0
/dev/hda5        /win_d           ntfs        ro               1   0
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,users,rw  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
/dev/sda1        /mnt/usb        vfat  
pamconsole,exec,noauto,owner,users,noatime,codepage=850,iocharset=iso8859-15,managed 0 0
My user belongs both to 'root' and 'users' group.

Does anybody knows where is the problem?
<Slackware 10.2, kernel 2.4.33>

Old 05-09-2007, 08:49 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,044

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
Try this line in your /etc/fstab
/dev/sda1 /mnt/usb vfat noauto,users,rw 0 0
Old 05-09-2007, 10:30 AM   #3
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,033

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Old 05-11-2007, 07:04 AM   #4
LQ Newbie
Registered: May 2007
Distribution: Slackware 12.0, Fedora Core 7
Posts: 17

Original Poster
Rep: Reputation: 0
It works!!

I changed it into:
/dev/sda1 /mnt/usb vfat noauto,users,rw 0 0

Old 10-25-2007, 07:12 PM   #5
LQ Newbie
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
howto fstab?
Old 11-01-2007, 09:09 PM   #6
Registered: Oct 2003
Location: Boston
Distribution: Slackware64-current
Posts: 44

Rep: Reputation: 18
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...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 04:46 AM
How to use Use "USB Flash Drives" in Slackware?? DdOs Linux - Newbie 26 03-31-2006 03:57 PM
Need to mount Windows shares as "user" MMYoung Slackware 4 09-12-2005 07:39 AM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 06:44 AM
redhat 9 - CD-ROM drive won't mount: "Not a directory" zyzychyn Linux - Hardware 8 06-11-2004 12:33 PM

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration