-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Lojkin wrote:
| Hello,
|
| how to do correct autofs map reload?
| with older (3.9.99-4.0.0pre10) autofs updating nis maps works ok.
| for example changing in auto.home:
| host1:/export/home/user
| to
| host2:/export/home/user
| and doing ls /home/user leads to mounting new users home.


Ian responded to this a while back, see his answer at: http://linux.kernel.org/pipermail/autofs/2004-February/000932.html

"That's right because, for file, NIS and LDAP maps, the daemon uses a
cache that is not aware of updates.

In 4.1.0 you can send a HUP signal to the daemon process controling the
map to ask it to update the map in similar fashion to running automount
on Solaris."

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
mailto: [EMAIL PROTECTED]
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAZGFAdQs4kOxk3/MRAiBrAKCFRbar4nWnTcRBPBDw9HlkCfifSACfdVEX
KeLa0I+Ei30gLF9gyQcL0Lc=
=FZyN
-----END PGP SIGNATURE-----

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to