mountlate being too mount-happy

Hiroki Sato hrs at FreeBSD.org
Sun Nov 18 06:10:09 UTC 2012


Mateusz Guzik <mjguzik at gmail.com> wrote
  in <20121118002245.GB15055 at dft-labs.eu>:

mj> On Sun, Nov 18, 2012 at 07:43:25AM +0900, Hiroki Sato wrote:
mj> > Chris Rees <utisoft at gmail.com> wrote
mj> >   in <CADLo839wqzAPenuQDOVpQ74yjCMkPQNceKpvs_N9XNwMLrkC1A at mail.gmail.com>:
mj> >
mj> > ut> On 2 November 2012 14:21, Eitan Adler <lists at eitanadler.com> wrote:
mj> > ut> > On 2 November 2012 09:56, Chris Rees <utisoft at gmail.com> wrote:
mj> > ut> >> I'll take a look.
mj> > ut> >
mj> > ut> > untested:
mj> > ut>
mj> > ut> Based on Eitan's patch, I've tested this one, and documented it in mount(8) too:
mj> > ut>
mj> > ut> http://www.bayofrum.net/~crees/patches/mountonlylate.diff
mj> > ut>
mj> > ut> Does anyone have any suggestions/objections/urge to approve it?
mj> >
mj> >  Is the original problem due to backgrounding of NFS mount only?  If
mj> >  so, implementing prevention of duplicate invocation into mount(8)
mj> >  would be more reasonable, I think.
mj> >
mj>
mj> We have 2 distinct scripts that try to mount same set of filesystems.
mj> I think this is the real bug here and proposed patches makes it go away in
mj> an IMHO acceptable way.

 I just wanted to make sure if the case is limited to background NFS
 mount or not.

 rc.d/mountlate just tries to mount the filesystems that are not
 mounted yet at that time in addition to the "late" ones, not always
 to mount the same set twice.  If it is a bug, it is better to simply
 fix -l to exclude not-yet-mounted ones without "late" keyword than
 adding another option.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20121118/1475c95f/attachment.sig>


More information about the freebsd-rc mailing list