Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 11:37:04 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Hans Ottevanger <hans@beastielabs.net>, freebsd-arch@FreeBSD.org
Subject:   Re: [CFT] Autofs.
Message-ID:  <764889423.20140908113704@serebryakov.spb.ru>
In-Reply-To: <20140904124330.GB4152@pc5.home>
References:  <20140730071933.GA20122@pc5.home> <53F0878E.3000401@beastielabs.net> <20140817145059.GA5497@pc5.home> <5407FFB0.80203@beastielabs.net> <20140904124330.GB4152@pc5.home>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Edward.
You wrote 4 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2014 =D0=B3., =
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, automoun=
td(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...

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?764889423.20140908113704>