LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux Autofs (https://www.linuxquestions.org/questions/linux-hardware-18/linux-autofs-823153/)

maheshp86 07-31-2010 12:14 AM

Linux Autofs
 
hi all

can anybody tell the basic difference in direct and indirect

map in autofs?

pls guide me with a good example

cjcox 07-31-2010 09:21 AM

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.

John VV 07-31-2010 06:36 PM

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.


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