Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-12-2004, 10:34 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Distribution: None, yet
Posts: 23
Rep:
|
USB flash drive and Fedora Core 2
256MB PNY Attache formatted in FAT16 (need to use with Windows PCs at school)
Fedora Core 2
Dell Inspiron 5100
I can mount the drive using
Code:
mount -t auto /dev/sba1 /mnt/flashdrive
but only as root, and then read-only. I've tried using some setting I've seen here in /etc/fstab, but when I run the flash drive doesn't mount.
I'd like the drive to automount to either the desktop or the home directory. I know it can be done (saw it working on a Mandrake installation).
|
|
|
09-13-2004, 03:17 AM
|
#2
|
LQ Newbie
Registered: Mar 2004
Location: France
Posts: 13
Rep:
|
The fstab settings must look like this:
"/dev/sda1 /mnt/flashdrive auto noauto,user,owner 0 0"
but if you want it as your /home directory you have to change the line with:
"/dev/sda1 /home auto user,owner 0 0"
i think. Sometimes, kudzu is the cause of some strange mounting problem, so if you have kudzu as an option in your fstab, you can try to delete it.
|
|
|
09-13-2004, 07:47 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Distribution: None, yet
Posts: 23
Original Poster
Rep:
|
The line in my /etc/fstab is currently
Code:
/dev/sda1 /mnt/flashdrive auto noauto,user,owner 0 0
but the drive does not mount with mount -a.
I know the drive can be seen. When I do
Code:
mount -t auto /dev/sda1 /mnt/flashdrive
I can see the contents of the drive, but cannot modify the contents as a normal user.
Any other ideas?
|
|
|
09-13-2004, 12:48 PM
|
#4
|
Member
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91
Rep:
|
Did you ever figure out how to make your flash drive work? I am having the same problems and found your thread while googling...
Thanks,
Dan
|
|
|
09-13-2004, 01:03 PM
|
#5
|
Member
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192
Rep:
|
whatever your fstab looks like:
/dev/sda1 /mnt/flashdrive auto noauto,user,owner 0 0
just use the mount point to mount it (/mnt/flashdrive)
$ mount /mnt/flashdrive
you can do this as a user, and have read-write permissions.
|
|
|
09-14-2004, 01:50 AM
|
#6
|
LQ Newbie
Registered: Mar 2004
Location: France
Posts: 13
Rep:
|
If the setting noauto is specified, "mount -a" won't mount your flashdrive. "mount -a" mount all devices which don't have this setting (or which have the "auto" setting specified). With the setting "owner", the user who have mount the device is the owner of it, so are you sure that you aren't root when you mount it? "user" is to permit all users to mount the device, not just root.
|
|
|
All times are GMT -5. The time now is 03:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|