From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Thu, 16 Jun 2005 19:21:27 +0000 Subject: Re: tiny udev on ARM Message-Id: <200506161221.27485.david-b@pacbell.net> 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 Tuesday 14 June 2005 8:39 am, Pelle Svensson wrote: > > What is the minimum I need for a simple set-up? I've got a pretty minimal setup getting generated from "buildroot" lately, completely replacing devfs. Get the latest from SVN then apply the patch "br2-udev-v2.patch" from the entry in bugthing. > I have following now, but it is not working... need some help. > Do I need all this? > > /sbin/udev 39388 bytes > /sbin/udevd 22468 bytes > /sbin/udevend 5588 bytes > /sbin/udevstart 39356 bytes > /usr/bin/udevinfo 27028 bytes > /usr/bin/udevtest 38820 bytes That is, pretty much what udev-058 installs. Probably only "udev" and "udevstart" are really essential in the current install setup ... but I didn't want to play too many games just now. > /udev emphty ... I made buildroot completely replace /dev, using ramfs and populating it with "udevstart". > /etc/udev/udev.conf 321 bytes rw-r--r-- > /etc/udev/rules.d/50-udev.rules 1531 bytes rw-r--r-- That looks like the default rules. I made buildroot use the rules from "frugalware" since the defaults use nasty permissions, like "/dev/zero" and "/dev/null" not being world-readable (so that many programs can't start or run). > /etc/rc.d/rc.start_udev 627 bytes rwxr-xr-x (copied from extras) > call rc.start during inittab I trimmed down the "start_udev" a bit, but yes it wanted to be started from inittab (before "mount -a"). One thing that's also missing is a really trimmed-down hotplug. Yes, some of that can come from making "udev" itself replace the /sbin/hotplug, but that won't modprobe. Plus, the new "pcmcia-utils" (cardmgr vanishing at last, yay!) currently wants some hotplug support. - Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ 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