Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-02-2010, 01:26 AM   #1
LQ Newbie
Registered: Jun 2010
Location: mumbai
Posts: 22

Rep: Reputation: 0
linux autofs

hi all i have a doubt in autofs

i created a indirect map as follows in RHEL5

in /etc/auto.master ,i add the following

/misc /etc/auto.misc

then i add following entry in /etc/auto.misc

opt -rw,sync is my NFS server

then i did

service autofs reload

then i did

ll /misc/opt

then i check

mount -v | grep nfs

then i can see is mounted under /misc/opt

now my question is

as nfs autofs share can simply made by ll or cd command and in our case (indirect map) /misc/opt will not present after reloading autofs at first time , how can a NEWBIE can understand there would be a filesystem is mounted under /misc??
as he does't know there is a file named "opt" is present under /misc

then how will he mount the nfsshare?
Old 08-02-2010, 06:16 AM   #2
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
I usually make a dangling symlink to the autofs expected mounts, e.g.

ln -s /misc/opt /mnt/remote-opt
Then there is a clearly visible mountpoint that when touched, will be valid.


autofs, mount

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
Linux Autofs maheshp86 Linux - Hardware 2 07-31-2010 06:36 PM
iPod Mini, GTKPod, and Linux using AutoFS NetRAVEN5000 Linux - Hardware 8 07-29-2005 01:12 AM
Linux autofs: can it work without NIS? kbshaq Linux - Networking 1 02-16-2005 08:52 PM > Forums > Linux Forums > Linux - Hardware

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