Chris,
if I understood your question right, you just want the folders to be
fisible. If that's the case you could try the -g (--ghost) option of
automount.
cheers
Massimo
chris barry wrote:
> I've googled, but have not found an answer to this seemingly simple
> question.
>
> I'm automounting /foo from box1 on box2. /foo has no files, just other
> directories, one of which is bar.
>
> box2 $ cd /foo
> box2 $ ls
> box2 $ (nothing shows up)
> box2 $ cd bar
> box2 $ cd ..
> box2 $ ls
> bar
> box2 $
>
>
> Q: how do I get all of the directories under /foo to show up after it's
> automounted?
>
> /etc/auto.master
> /foo /etc/auto.foo --timeout=60
>
> /etc/auto.foo
> (all on one line)
> * /
> -fstype=nfs,rsize=32768,wsize=32768,tcp,rw,bg,hard,intr,noacl,nocto,async
> 10.20.30.40:/foo/&
>
> Is my auto.foo wrong for this application?
>
>
> Thanks,
> -C
>
>
> _______________________________________________
> autofs mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs
>
--
Massimo Mongardini
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
echo
'Jg!J!hjwf!zpv!bo!bqqmf!boe!zpv!hjwf!nf!bo!bqqmf-!uifo!xf!xjmm!ibwf!bo!bqqmf!fbdi/!Cvu!jg!J!hjwf!zpv!bo!jefb!boe!zpv!hjwf!nf!bo!jefb-!xf!xjmm!ibwf!uxp!jefbt!fbdi!'
| perl -pe 's/(.)/chr(ord($1)-1)/ge'
#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs