Re: To built-in Driver, When the corresponding node under /dev created?
From: Li Haifeng
Date: Tue Mar 27 2012 - 20:44:20 EST
I also found it @ http://lwn.net/Articles/330985/
On Wed, Mar 28, 2012 at 4:53 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Mar 27, 2012 at 02:39:37PM +0800, Li Haifeng wrote:
>> As you know, the node under /dev are managed by udevd daemon.
> Not always, usually the node is created by devtmpfs on most modern
>> But to the built-in driver module, when the module is probed in kernel
>> space, udevd daemon doesn't running. So, to ttyS node, when the
>> built-in driver module was probed, when was the /dev/ttyS created?
> devtmpfs does it.
> Also, look at your distro startup code, it sets things up properly when
> userspace starts up and has udev go through things and set up the nodes
> good luck,
> greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/