[ILUG] How to mount a directory?
Justin Mason
jm at jmason.org
Wed Jul 22 16:06:36 IST 2009
On Wed, Jul 22, 2009 at 15:30, Timothy Murphy<gayleard at eircom.net> wrote:
> On Tuesday 21 July 2009 22:23:06 Brendan Minish wrote:
>
>> > If I just add it to /etc/fstab
>> > there is an inordinate delay if alfred cannot be seen.
>>
>> Use the autofs to mount it when you access it and it will also un-mount
>> it when done. This avoids the need to do it at login but makes it
>> available (if present) when you try to access it
> ...
>> http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guid
>>e-en-US/s1-nfs-client-config-autofs.html
>
> Thanks very much.
> It is clear that autofs is the way to go.
>
> I found the autofs documentation very difficult to follow;
> like much Linux documentation
> it seemed to be directed at people running enormous systems
> with extraordinarily complicated mounting problems.
> It took some time to work out what was the difference
> between direct and indirect maps,
> or even what a "map" was.
Part of the problem is a history stretching back to amd, the Berkeley
automounter daemon. If you find the autofs concepts hairy, steer well
clear of the complexity hell that is amd.
--j.
More information about the ILUG
mailing list