Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-13-2004, 12:47 PM   #1
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91

Rep: Reputation: 15
Question How do I make my USB flash drive act like a normal disk?

I have a USB flash drive that I can plug in and mount as root under Slackware 10.0:

# mount -t vfat /dev/sda1 /mnt/muvo
But, only root can read and write to the drive. I have tried to CHMOD the device /dev/sda1 and the mount point but still cannot read and write to the device as an underpriviledged user.

Does anyone know what I have to do to make the drive act like a regular disk? Also, is there a way to set up Slack to auto mount it whenever I plug it in, and umount it when I take it out?

Thanks ahead of time,

Old 09-13-2004, 01:13 PM   #2
LQ Newbie
Registered: May 2003
Posts: 12

Rep: Reputation: 0
you might want to try this :
mount -t vfat -o umask=000 /dev/sda1 /mnt/muvo
as for auto mounting you might want to look at hotplug configuration.

Old 09-13-2004, 08:26 PM   #3
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
One thing you could try is to add a line like this in your /etc/fstab:
/dev/sda1                  /mnt/muvo             vfat     noauto,users,rw,fmask=133,dmask=033  0 0
noauto means it is not automatically mounted on startup
users means that anybody can mount the drive and files on it automatically belong to that user
rw means mount read/write
fmask=133 means regular files will not have execute permission
dmask=033 means directories will have execute (traverse) permission

Then, as an ordinary user, type mount /mnt/muvo


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
USB flash disk taoweijia Linux - Hardware 2 12-28-2005 04:30 AM
USB flash disk help bakazer Solaris / OpenSolaris 1 06-24-2005 09:30 AM
USB Flash Disk zillah Fedora 3 05-22-2005 03:25 AM
USB flash disk. ValidiusMaximus Linux - Software 0 12-30-2004 02:45 PM
USB Flash Disk not recognized Alphi Linux - Hardware 10 06-16-2003 05:58 PM

All times are GMT -5. The time now is 10:18 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