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 |
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.
|
 |
12-20-2005, 05:32 AM
|
#1
|
Member
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42
Rep:
|
Autofs vs. fstab
Hi,
I use fstab for automounting my external HDD and other shares, even networkshares.
my questions, mostly for curiousity :
Can one, though it might not be desirable, automount an external HDD with autofs?
When is autofs recommandable to be used?
I haven't found situations where fstab didn't do the job.
thanks, Marcel
|
|
|
12-20-2005, 06:51 AM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Autofs is useful for devices that are often installed after the machine is up and running. For instance, if you setup an external USB HD in autofs when you plug the drive in it'll automatically be detected and mounted on your running system. No need for any user commands. Similarly, you can make it automount CD's after insertion into the drive or any other removable media.
Typically fstab entries are mounted once at boot and then everything from there on out must be done through user interaction.
|
|
|
12-20-2005, 07:27 AM
|
#3
|
Member
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42
Original Poster
Rep:
|
Extern USB HD:
It sounds good, untill now I did it with 'mount -t .... /dev/sda5' etc
Do you need to configure autofs to recognize ext USB HDD or does it do the job automatically?
|
|
|
12-20-2005, 07:47 AM
|
#4
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
You need to configure it for the drive, yes, but there is nothing special for a USB drive vs. any other removable media.
|
|
|
12-20-2005, 07:56 AM
|
#5
|
Member
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42
Original Poster
Rep:
|
this I do not understand, my removable media is recognized and auto-mounted also without problems when autofs is off. So what adds autofs to this?
|
|
|
All times are GMT -5. The time now is 07:39 AM.
|
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
|
|