Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2012 01:22:45 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        freebsd-rc@FreeBSD.org, mjg@FreeBSD.org, utisoft@gmail.com
Subject:   Re: mountlate being too mount-happy
Message-ID:  <20121118002245.GB15055@dft-labs.eu>
In-Reply-To: <20121118.074325.564844639489846824.hrs@allbsd.org>
References:  <CADLo83-pYaXyg8AejwVG6TiWKu8P5Y82PQP5-qyUUjfzZG0dXw@mail.gmail.com> <CAF6rxgkQZ-FUcMsMmV31s87kwdo0D3bJti-qTWbG7vsXz5EjYQ@mail.gmail.com> <CADLo839wqzAPenuQDOVpQ74yjCMkPQNceKpvs_N9XNwMLrkC1A@mail.gmail.com> <20121118.074325.564844639489846824.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 18, 2012 at 07:43:25AM +0900, Hiroki Sato wrote:
> Chris Rees <utisoft@gmail.com> wrote
>   in <CADLo839wqzAPenuQDOVpQ74yjCMkPQNceKpvs_N9XNwMLrkC1A@mail.gmail.com>:
> 
> ut> On 2 November 2012 14:21, Eitan Adler <lists@eitanadler.com> wrote:
> ut> > On 2 November 2012 09:56, Chris Rees <utisoft@gmail.com> wrote:
> ut> >> I'll take a look.
> ut> >
> ut> > untested:
> ut>
> ut> Based on Eitan's patch, I've tested this one, and documented it in mount(8) too:
> ut>
> ut> http://www.bayofrum.net/~crees/patches/mountonlylate.diff
> ut>
> ut> Does anyone have any suggestions/objections/urge to approve it?
> 
>  Is the original problem due to backgrounding of NFS mount only?  If
>  so, implementing prevention of duplicate invocation into mount(8)
>  would be more reasonable, I think.
> 

We have 2 distinct scripts that try to mount same set of filesystems.
I think this is the real bug here and proposed patches makes it go away in
an IMHO acceptable way.

-- 
Mateusz Guzik <mjguzik gmail.com>



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