[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFNq8R4C2TyjXF+1=_GEszpem7wQj9syRrhO5T3gisiBw10sSw@mail.gmail.com>
Date: Wed, 28 Mar 2012 08:44:21 +0800
From: Li Haifeng <omycle@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: To built-in Driver, When the corresponding node under /dev created?
Thanks.
I also found it @ http://lwn.net/Articles/330985/
On Wed, Mar 28, 2012 at 4:53 AM, Greg KH <gregkh@...uxfoundation.org> 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
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists