Hello,

   Trying to setup a simple direct map using nis and the autofs automounter:

automount -V
Linux automount version 4.1.3-67

/etc/auto.master

/-      yp:auto.linux


ypcat -k auto.linux

/proj server2:/vol/proj/xx_proj

This is documented in the readme file in 
/usr/share/doc/aufofs-4.1.3/README.direct

When the autofs is started or restarted in the /var/log/messages I get :

automount[25461]: cache_ghost: entry in yp:auto.linux not valid map 
format, key /proj

If I use indirect mounts it works however direct mounts would be a lot 
easier for my users in that
they will be able to see the directories in the mounted directory.  The 
ghost function doesn't work
well because it will only show the mounted directories or the 
directories that have been mounted
since the last restart of the autofs.

  If I copy the file to the /etc directory it still has a similar error.


aufofs-4.1.3/README.direct
-- For example if we were using NIS we might have something like
the map entries below.

In the master map:

/-      autofs.global

and in autofs.global:

/nfs/apps/mozilla       bogus:/usr/local/moxilla
/nfs/data/budgets       tiger:/usr/local/budgets
/tst/sbin               bogus:/usr/sbin

and so on.


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to