From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: run udev on ARM system kernel 2.6.22
Date: Tue, 11 Sep 2007 23:05:38 +0000 [thread overview]
Message-ID: <20070911230538.GB4539@kroah.com> (raw)
In-Reply-To: <d722e40c0709092111i518d6590v2b6060a59860de10@mail.gmail.com>
On Wed, Sep 12, 2007 at 08:52:20AM +1000, jim hugh wrote:
>
> We are doing ARM embedded development, there is no hard disk, only
> limited directory can be made to ram for RW.
That's not a problem, udev works on lots of systems like that.
> I guess that the udev is not included in the kernel, we have to
> download the udev source code (current version 1.15?) (do we also need
> to download hotplug as well?) and compile it as user program?
Yes, you have to download and build udev on your own, it does not come
with the kernel tree for a variety of good reasons.
And no, you do not need hotplug at all.
> To enable using udev, we need to make /sys /dev and /var for RW, and
> the rest or RO. Is it sufficient?
/sys has sysfs mounted on it, it has nothing to do with permissions.
As for your other locations, it all depends on what your system does.
If you really have no userspace, then just use a static /dev tree, why
would you need to use udev at all? There will not be any userspace
programs to access the device nodes :)
> From the document, it says that the /dev will destroy / create the
> /dev. Does that mean, we need only manually add /dev/console and
> /dev/null for booting, than let udev control the the /dev when kernel
> is booted?
Yes.
thanks,
greg k-h
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2007-09-11 23:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-10 4:11 run udev on ARM system kernel 2.6.22 jim hugh
2007-09-10 5:48 ` Greg KH
2007-09-10 23:14 ` jim hugh
2007-09-11 6:23 ` Greg KH
2007-09-11 15:19 ` Dan Nicholson
2007-09-11 15:34 ` Kay Sievers
2007-09-11 22:52 ` jim hugh
2007-09-11 23:05 ` Greg KH [this message]
2007-09-11 23:21 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070911230538.GB4539@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).