mountlate being too mount-happy

Mateusz Guzik mjguzik at gmail.com
Sun Nov 18 00:22:58 UTC 2012


On Sun, Nov 18, 2012 at 07:43:25AM +0900, Hiroki Sato wrote:
> Chris Rees <utisoft at gmail.com> wrote
>   in <CADLo839wqzAPenuQDOVpQ74yjCMkPQNceKpvs_N9XNwMLrkC1A at mail.gmail.com>:
> 
> ut> On 2 November 2012 14:21, Eitan Adler <lists at eitanadler.com> wrote:
> ut> > On 2 November 2012 09:56, Chris Rees <utisoft at 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>


More information about the freebsd-rc mailing list