git: 44f3b1aa980e - main - rc: kldxref only needs to depend on rootfs, not FILESYSTEMS

Warner Losh imp at bsdimp.com
Sat Apr 10 15:18:29 UTC 2021


On Sat, Apr 10, 2021, 8:23 AM Tijl Coosemans <tijl at freebsd.org> wrote:

> On Sat, 10 Apr 2021 08:32:44 GMT Edward Tomasz Napierala
> <trasz at FreeBSD.org> wrote:
> > The branch main has been updated by trasz:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=44f3b1aa980e747ce9b72ba4333c80a99d8cd966
> >
> > commit 44f3b1aa980e747ce9b72ba4333c80a99d8cd966
> > Author:     Edward Tomasz Napierala <trasz at FreeBSD.org>
> > AuthorDate: 2021-04-10 08:19:25 +0000
> > Commit:     Edward Tomasz Napierala <trasz at FreeBSD.org>
> > CommitDate: 2021-04-10 08:31:12 +0000
> >
> >     rc: kldxref only needs to depend on rootfs, not FILESYSTEMS
> >
> >     This makes it run a bit earlier in the startup, which will
> >     be useful for the linux rc script later on.
> >
> >     Reviewed By:    imp (earlier version)
> >     Sponsored By:   EPSRC
> >     Differential Revision:  https://reviews.freebsd.org/D29589
> > ---
> >  libexec/rc/rc.d/kldxref | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libexec/rc/rc.d/kldxref b/libexec/rc/rc.d/kldxref
> > index 4d232ee0d4cf..4c1fa15f2a35 100755
> > --- a/libexec/rc/rc.d/kldxref
> > +++ b/libexec/rc/rc.d/kldxref
> > @@ -4,7 +4,7 @@
> >  #
> >
> >  # PROVIDE: kldxref
> > -# REQUIRE: FILESYSTEMS
> > +# REQUIRE: root
> >  # BEFORE:  netif
> >  # KEYWORD: nojail
> >
>
> kldxref is in /usr which may be a separate file system so this requires
> at least mountcritlocal.
>

I'd forgotten that detail. Maybe we should move it there.

Warner

>


More information about the dev-commits-src-all mailing list