LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 07-31-2010, 01:14 AM   #1
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Rep: Reputation: 0
Linux Autofs


hi all

can anybody tell the basic difference in direct and indirect

map in autofs?

pls guide me with a good example
 
Old 07-31-2010, 10:21 AM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 305

Rep: Reputation: 42
An indirect mount is essentially a directory with automounts underneath it.

so... if /etc/auto.master has:

/misc auto.misc

That's an indirect mount where auto.misc hold the info about the mounts to go under /misc. For
example, auto.misc might have:

fred fred:/export

Which means that access /misc/fred on the system running the automount will mount the NFS /export area off of fred and mount it to /misc/fred

A direct mount means something like the following it /etc/auto.master:

/misc fred:/export

Which means /misc mounts export via NFS... no indirect directory above the automount point.

Support for direct mounts is relatively new (relatively being relative). So if you have a mix of new and old linux, you may be forced to just use indirect maps.
 
Old 07-31-2010, 07:36 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,477

Rep: Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802
this sounds like your home work
if so we will not do it for you .
?? what have YOU done to find out this ???
where have you looked ?
what have you read ?
and what do you NOT understand.
 
  


Reply

Tags
autofs


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
iPod Mini, GTKPod, and Linux using AutoFS NetRAVEN5000 Linux - Hardware 8 07-29-2005 02:12 AM
Linux autofs: can it work without NIS? kbshaq Linux - Networking 1 02-16-2005 09:52 PM
autofs group problem linux-solaris pao Linux - Networking 1 10-22-2004 07:48 AM


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

Main Menu
Advertisement
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