lkml.org 
[lkml]   [2012]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: To built-in Driver, When the corresponding node under /dev created?
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
distros.

> 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
then.

good luck,

greg k-h


\
 
 \ /
  Last update: 2012-03-27 22:55    [W:0.935 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site