Fedora Linux Support Community & Resources Center
  #1  
Old 18th July 2007, 12:05 PM
axaf Offline
Registered User
 
Join Date: Nov 2004
Posts: 43
mounting USB disk with fstab

Hi-

I have a USB hard drive which I occasionally use with my FC6 system. Is it valid to enter this into the fstab file if the device isn't necessarily powered up all the time? My system doesn't seem to want to auto detect the disk. Shouldn't it?

I want non-root users to have access to the disk.

Thanks.
Reply With Quote
  #2  
Old 18th July 2007, 02:51 PM
LinuxTom Offline
Registered User
 
Join Date: Jul 2005
Location: Kentucky, U.S.A.
Posts: 349
Yes perfectly acceptable to do that assuming that the system is actually able to access the drive. I assume that you mean it is accessible, but it does not automount for whatever reason.

You can try something like this...

Quote:
/dev/sdc2 /media/sdc2 ext3 rw,noauto,user,exec 0 0
That will allow non-root users to mount/unmount the drive. Of course if you have multible storage devices, that you randomly swap, the mount point may shift, and in that case, you may need to create a /etc/udev/rules.d/10-local.rules file for udev, such as this...

Quote:
BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="57442D5743414C3736393837303631", NAME="%k", SYMLINK+="wd-external%n"
Altering the SYSFS{serial} and SYMLINK+ values according to your particular drive, then using the symlink created as your device entry in your fstab. But that's another issue, and if you have only the one USB drive, probably not an issue.
Reply With Quote
Reply

Tags
disk, fstab, mounting, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting with fstab theclaw Using Fedora 8 19th February 2009 07:50 PM
Mounting ramfs ram disk ignores fstab option uid rbergvm Using Fedora 2 13th March 2007 04:03 PM
fstab and mounting issues Gallan Using Fedora 1 11th March 2006 04:26 AM
Mounting smb shares in fstab cre Using Fedora 3 1st November 2004 05:34 AM


Current GMT-time: 07:39 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat