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 10:34 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Tue, May 05, 2015 at 09:27:38PM +0000, linuxcbon linuxcbon wrote:
>> Hi,
>>
>> 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 ?
>
> Try using mdev.


Hi Greg,

I already do this "mount -t devtmpfs dev /dev" which automagically
creates /dev files
When I do a "mdev -s" , it will recreate /dev, so what's the point of
using devtmpfs
I am also not sure if mdev triggers modprobes like udev does ?
If you have some working mdev or udev examples, I will try.
Until now, this problem has been a real pain for me...

Thanks.
linuxcbon
--
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