[CFT] Autofs.
Lev Serebryakov
lev at FreeBSD.org
Mon Sep 8 07:37:09 UTC 2014
Hello, Edward.
You wrote 4 сентября 2014 г., 16:43:30:
ETN> It's a bug. Or rather, a missing feature. The problem here is that
ETN> the "/" export "shadows" the rest. To handle this correctly, automountd(8)
ETN> would need to mount the "/" share, then mount autofs on "/usr" etc, and
ETN> then call it done. This part is easy. The problem is: how to expire
ETN> (automatically unmount) it? Because of autofs mounts, the "/" share
ETN> will always be busy, and thus won't ever get automatically unmounted.
ETN> So, for now, we don't even try to handle this situation.
I have same problem with /usr + /usr/home, which make autofs pretty
useless for me :(
Looks like, "autofs" mounts should not be considered "busy" for other
automounted filesystems and should be processed separately...
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-arch
mailing list