lynn wrote:
On 09/04/12 18:36, Jan Ritzerfeld wrote:
Am Montag, 9. April 2012, 18:13:37 schrieb lynn:
[...] Why though and before any mount requests are made, de we show /home/auto.misc as being mounted whereas ubuntu shows nothing?
Please try setting DEFAULT_BROWSE_MODE to "no" in /etc/sysconfig/autofs, as I suggested in my first answer, and restart the autofs service.
Hi
Yes, sorry I did that and restarted autofs. But we still get /etc/auto.misc mounted. Also, it leaves permanent folders on the client for the folders specified in etc/exports
Then DEFAULT_BROWSE_MODE=no is not obeyed. Try to add BROWSE_MODE=no to /etc/sysconfig/autofs; man auto.master documents that variable. But: That these folders are shown (and are available for command line completion) is a huge advantage over older versions, IMHO. That these folders exist does not mean that the remote file systems are mounted; they are only mounted if someone access it. (You can see with ls -l which ones are actually mounted -- the other ones have size 0.) But now one sees the directories that are provided by autofs; I wouldn't want to work without that feature any more.
Everything is working, I just see different behaviour between us and Ubuntu.
Concerning mount information, comparing /proc/mounts is better than the mount command output. There, mount points are listed since many versions; e.g., on my 11.4 workstation: puma:~ $ grep auto /proc/mounts /etc/auto.misc /misc autofs rw,relatime,fd=6,pgrp=2533,timeout=60,minproto=5,maxproto=5,indirect 0 0 /etc/auto.smb /smb autofs rw,relatime,fd=12,pgrp=2533,timeout=600,minproto=5,maxproto=5,indirect 0 0 /etc/auto.net /net autofs rw,relatime,fd=18,pgrp=2533,timeout=600,minproto=5,maxproto=5,indirect 0 0 auto.shared /shared autofs rw,relatime,fd=24,pgrp=2533,timeout=600,minproto=5,maxproto=5,indirect 0 0 Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org