From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 11 Sep 2007 23:05:38 +0000 Subject: Re: run udev on ARM system kernel 2.6.22 Message-Id: <20070911230538.GB4539@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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