Re: how to do ? minimal udev script for my rc.sysinit ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 5, 2015 at 11:27 PM, linuxcbon linuxcbon
<linuxcbon@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux