LWN.net Logo

Gentoo's udev fork

Gentoo's udev fork

Posted Nov 22, 2012 13:19 UTC (Thu) by tomegun (subscriber, #56697)
Parent article: Gentoo's udev fork

Regarding kmod: I don't see why anyone would want to use an alternative modprobe implementation, rather than the awesome libkmod. However, if they do, that's now really simple:

The latest systemd version supports disabling kmod (and hence all loadable modules support). If you do that, you can then easily add back your own version of one udev rules file (80-drivers.rules) to implement module loading with whatever mechanism you prefer (such as calling /sbin/modprobe). No patching of udev needed...


(Log in to post comments)

Gentoo's udev fork

Posted Nov 22, 2012 14:26 UTC (Thu) by zuki (subscriber, #41808) [Link]

Yeah, the latest systemd README shows a list of dependencies that are almost entirely optional (./configure switches and/or autodetection):
REQUIREMENTS:
        Linux kernel >= 2.6.39
                with devtmpfs
                with cgroups (but it's OK to disable all controllers)
                optional but strongly recommended: autofs4, ipv6
        dbus >= 1.4.0
        libcap
        libblkid >= 2.20 (from util-linux) (optional)
        libkmod >= 5 (optional)
        PAM >= 1.1.2 (optional)
        libcryptsetup (optional)
        libaudit (optional)
        libacl (optional)
        libattr (optional)
        libselinux (optional)
        liblzma (optional)
        tcpwrappers (optional)
        libgcrypt (optional)
        libqrencode (optional)
        libmicrohttpd (optional)
I'm not really sure what this whole outcry about pulling in dependencies is about.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds