Re: how to do ? minimal udev script for my rc.sysinit ?
Tom Gundersen <[email protected]> Wed, 6 May 2015 08:01:04 +0200
| Newsgroups | gmane.linux.hotplug.devel |
|---|---|
| Message-ID | <CAG-2HqUpK8JUQm0sT5OCpsijOqoaiG88TNmotBpckthuphArew@mail.gmail.com> |
On Tue, May 5, 2015 at 11:27 PM, linuxcbon linuxcbon <[email protected]> wrote: > my kernel boots ok and gives the hand to init which runs rc.sysinit. > I am writing a minimal rc.sysinit. > It creates /dev with devtmpfs and now all works except udev. > I need 1 or 2 or 3 lines with udev commands to make it work > and detect and modprobe needed modules. > I don't know the minimal and shortest commands to do this ? > Can you please help me ? A good starting point is to look at the ExecStart lines in the udev service files used by systemd. You'll likely want to pass --daemon to the main daemon though so that it will fork to the background: http://cgit.freedesktop.org/systemd/systemd/tree/units/systemd-udevd.service.in http://cgit.freedesktop.org/systemd/systemd/tree/units/systemd-udev-trigger.service.in http://cgit.freedesktop.org/systemd/systemd/tree/units/systemd-udev-settle.service.in (note that the order matters). Apart from that I don't think anyone is using/testing/developing for this setup any longer, so you are mostly on your own, sorry. HTH, Tom -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html