From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Fri, 09 Nov 2007 14:20:20 +0000 Subject: Re: udevadm Message-Id: <3ae72650711090620t2367bcfao6b56749f73f12bef@mail.gmail.com> List-Id: References: <1194564777.18996.29.camel@lov.site> In-Reply-To: <1194564777.18996.29.camel@lov.site> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Nov 9, 2007 11:12 AM, Matthias Schwarzott wrote: > On Freitag, 9. November 2007, Kay Sievers wrote: > > It was long overdue, today all the tiny udev tools got merged into a > > single binary: > > > > http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h"5cb03bd851adc6 > >d269b13bdf2b1bfded2b96b9 > There is a typo in the Makefile: Eek, fixed, thanks! Hi Matthias, I also committed the following: $ udevadm info --device-id-of-file=/ 8 5 Something like: root_symlink_rule() { devt=$(/sbin/udevadm info --device-id-of-file=/) cat > /dev/.udev/rules.d/10-root-symlink.rules <<-EOF ACTION="add", SUBSYSTEM="block", ENV{MAJOR}="${devt% *}", ENV{MINOR}="${devt#* }", SYMLINK+="root" EOF } done before system coldplug, will create the /dev/root symlink, you have been looking for. :) Kay ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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