Отправлено с iPhone
24 сент. 2015 г., в 16:32, Per Jessen
написал(а): Thierry de Coulon wrote:
On Thursday 24 September 2015 11.39:33 Per Jessen wrote: Just before I go delve further into the automount options - does anyone happen to know if I can have autofs only mount certain mountpoints, and not others?
Any mountpoint I have defined in fstan (with noauto) won't automount, while others will. That's the only option I know, but there may be others.
Hi Thierry
I'm talking using the automount daemon, not running "mount -a". Usually automount looks after an entire directory, such as /var/lib/capitals and anything under there is handled by automount. I was just wondering if there was a way of telling automount that "capitals/oslo" is local and need no mounting where as "capitals/copenhagen" is remote and needs mounting.
Yes, it's possible; you just need to define automount map for /capitals/copenhagen explicitly. This is called direct mounts. What you cannot do is to have indirect map for /capitals and then exclude /capitals/Oslo. At least, I am not aware of this possibility.
-- Per Jessen, Zürich (16.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org