Re: To built-in Driver, When the corresponding node under /devcreated?

From: Greg KH
Date: Tue Mar 27 2012 - 16:53:29 EST

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
Please read the FAQ at