kldutils
Robert Millan
rmh at aybabtu.com
Sun Jul 31 13:33:56 UTC 2005
On Sun, Jul 31, 2005 at 07:20:40AM +0300, Guillem Jover wrote:
> Hi,
>
> On Sun, Jul 31, 2005 at 12:55:16AM +0200, Robert Millan wrote:
> > I just uploaded/committed kldutils. This package is the equivalent of
> > module-init-tools for kFreeBSD. It's much simpler though. It contains the
> > kld* module utilities themselves (which are to be removed from freebsd-utils
> > now), plus an init.d script to load module on startup.
>
> It's missing kldxref from (usr/sbin/), needed to generate the
> linker.hints file at kernel build time, and used afterwards by the
> freebsd boot loader and the kernel itself when loading modules,
> otherwise we get a nasty warning.
Is kldxref needed for anything other than kfreebsd build? If not, it can go
into freebsd5-buildutils. There was already a bug on this (#306203).
> > If a package needs a particular module to be loaded (e.g. pf or nmap),
> > it can add this module to the file in postinst and remove it in postrm.
>
> No, packages cannot touch conffiles from other packages, I would
> suggest adding a /etc/kldutils.d/ or similar so other packages can add
> a file there that will read when autoloading modules.
Sounds fine. But then what is /etc/modules for? Only local editting?
--
Robert Millan
More information about the Glibc-bsd-devel
mailing list