"Taylor, ForrestX" wrote:
> 
> Alexander Macdonald wrote:
> > Hi
> >
> > I've currently got automount setup so that i can cd into a directory
> > like /mnt/someplace and someplace will be automatically created and
> > mounted... it would be quite usefull if that directory was allways
> > visible so that i could browse to it in gui applications... how do i do
> > that?
> 
> If you want it visible all the time, use /etc/fstab, not autofs.  Work
> is being done on leaving the directory structure before actually
> mounting it, but it is not finished yet.
> 
> Forrest
Or you can fake it by having a directory where autofs puts its stuff and in the
directory where you want the mounts, have softlinks back to the correct autofs
location.

like autofs puts its stuff in 
/.autofs/mount1
and you do
ln -s /.autofs/mount1 /mnt/mount1

there are 2 problems I have seen with this (though I still use it)

1) if your home directory is in /mnt/mount1 you (if PS1=\h:\w\$ on bash) will
see "machine:/.autofs/mount1$ " until you type cd once.

2) if you do an ls in /mnt/ (or navigate a netscape/openoffice.org [save/open]
through it) you will be waiting until autofs has processed mounting all the
autofs mounts.


-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter
_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to