In a message dated: Thu, 10 Jan 2002 12:25:16 GMT
[EMAIL PROTECTED] said:

>Hi,
>
>I'm having a problem with automount in that when I cd into the automount
>"projects"  the sub directories are hidden.
>If I cd into a sub directory that I know exists "/projects/network" then it
>will appear in a ls -l of projects.

This is not a "problem" but normal behavior of automount.  /projects 
is a mount point.  Until something is mounted, it does not exist on a 
client machine, and therefore, you can't see it with ls.  When you 
'cd' into it, the OS intercepts your command, passes it off to 
automount, which then locates the appropriate file system in the 
auto.* maps, and NFS mounts the file system for you in the /projects 
directory by doing the equivalent of:

        mkdir /projects/network
        mount -t nfs server:/network /projects/network

When the "automount" time out is incurred, it cleans up after itself 
by doing the equivalent of:

        umount /projects/network
        rmdir /projects/network

If you need to know what's "available" under the /projects directory, 
you need to know which auto. map this information is kept in. 

If you're running NIS, then use the ypmatch/ypcat commands on the 
auto. maps.  If you use local files, then grep through the /etc/auto.*
maps.

HTH,
-- 

Seeya,
Paul
----

                          God Bless America!

        ...we don't need to be perfect to be the best around,
                and we never stop trying to be better. 
                       Tom Clancy, The Bear and The Dragon


Reply via email to