LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-31-2004, 06:04 AM   #1
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
How to put a permanent entry in fstab for usb pen drive


I`ve got a samsung USB pen drive that mounts as /dev/sda1

I wanted to put a permanent entry in fstab but when i remove the stick the entry goes off.

The entry was

/dev/sda1 /mnt/usb auto noauto,user,kudzu 0 0


I want to make this entry permanent so that i dont have to put it back again to allow users to mount a usb mem stick

Cheers
Z
 
Old 08-31-2004, 06:28 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I've recently done the same thing in my FC2. Only diff is I don't have the "kudzu" option in mine.
 
Old 08-31-2004, 02:59 PM   #3
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Someone at my LUG had the same problem so he chose to write vfat instead of auto and that solved it.
 
Old 08-31-2004, 06:22 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
What I tend to do is wait for the "automounter" to detect the presence of a new removable device, wait for it to add an entry to the fstab and then edit it! I would change the mountpoint to something meaningful (I have /mnt/pendrive) and remove the kudzu option. That works well enough for me, but your mileage may vary.
 
Old 08-31-2004, 11:36 PM   #5
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Original Poster
Rep: Reputation: 39
If i put vfat , will it work if it is ext2 partition i have on that flash stick?


And I did this
ln -s /dev/sda1 /dev/flash1

Put the entry in fstab . It seems to work but sometimes on reboot the entry dissapears

And I will try removing kudzu too

Thanks for that. But if any other user is using the device what permission should i give to the mount directory?

Cheers
Z
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Device Fstab Entry Campy19 Linux - Hardware 4 01-07-2005 09:34 AM
What should I put in my fstab if I've got a DVD/CD combo drive?? chutsu Linux - Hardware 4 09-13-2004 04:11 PM
/etc/fstab and mounting a Pen drive caps_phisto Linux - Newbie 1 09-02-2004 01:10 PM
usb fstab entry won't mount r/w Kilka Linux - Hardware 4 07-27-2004 11:05 AM
Mounting USB-Stick - entry in fstab disappears at reboot??? rot Linux - General 5 08-07-2003 03:37 AM


All times are GMT -5. The time now is 02:20 AM.

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