[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SOLVED: Autofs behaviour: how to show mountable resources in advance



Dieter Roels wrote:

Joao Carlos de Lima Roscoe wrote:

I have a bunch of autofs mounts in my etch box, whose doesn't show in my
filesystem tree until I explicitly use them, with a cd command, for instance
(ok, this is the intend autofs behaviour);

My Solaris 9 boxes show a different behaviour: autofs resources do show
in the filesystem tree while still not mounted, as owned by root. Once I
effectively use them, they are mounted, and show with correct group/owner.

That may look odd, since mounts are performed only when needed, but
is convenient for the user, because he/her can see in advance the resources he/her can reach. Is there any way to get such behaviour with debian etch?


Autofs should create the dirs if you add --ghost behind the entry in /etc/auto.master

like this:

/foo    /etc/auto.foo    --ghost

-D


That's *really* great! Worked as a bliss. Thank you very much,
Joao



Reply to: