On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote:

>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.
>
>[root@linux001 /projects]# cd /projects
>
>[root@linux001 /projects]# ls -la
>total 4
>drwxr-xr-x    2 root     root            0 Jan  4 13:45 .
>drwxr-xr-x   24 root     root         4096 Jan  7 16:35 ..
>
>[root@linux001 /projects]# cd network
>
>[root@linux001 network]# cd ..
>
>[root@linux001 /projects]# ls -l
>total 4
>drwxrwxr-x   31 root     bin          4096 May 10  2001 network
>
>I tried using the latest version of Redhat (7.2) but I'm still getting the
>same problem. I've just found out that HPUX has the same problem. I've
>found a script that mounts the directories manually but it seems a bit
>messy. Is there a fix for this?

Why are you using an automounter if you want all the directories to be
there all the time? The whole point of autofs is that it only mounts the
subdirectories when they are accessed. It is non-trivial to provide a
stub entry for all the possible subdirectories, so you'll have to get
used to the fact that automounts don't appear until they are accessed.

It's one of the more common complaints we get from new users:
"/vol/bitbucket isn't there on my machine!"
"Try cd'ing into it"
"Oohhh."

But people get used to it pretty quickly.

Cheers,
Mike
-- 
Mike Wyer <[EMAIL PROTECTED]>  Systems Programmer
Computing Support Group,
Computing Department,
Imperial College       http://www.doc.ic.ac.uk/

Reply via email to