Drive mounting using autofs daemon

Kihara Muriithi william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Jan 17 18:44:42 UTC 2006


Yeah, it worked. I was trying to list dir on /misc (The logical thing
IMHO) and nothing was happening. However, if i ls /misc/cd, it works. 
I think this feature is badly documented. I read a number of articles,
and none was that clear.
 Thank you a lot

William

On 1/17/06, Paul Mora <paulmora-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> Hi.
>
>  When you use autofs, the mountpoint does not get created until you access
> the mountpoint under /misc.  So, if you use the sample file that is included
> in Red Hat / Fedora, the CD will be mounted when you access the /misc/cd
> directory.
>
>  So you have to access the directory "blind"... that is, by CD'ing into a
> directory that looks like it doesn't exist.  Keep in mind that autofs is
> managing all access to /misc, and comparing what you're trying to do with
> what you have configured; so it's when you access /misc/cd that the
> mountpoint gets created, and the CD mounted.  After the timeout period (60
> seconds), it gets unmounted and the mountpoint removed.
>
>  pm
>
> --
> Paul Mora
> email: paulmora-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list