Skip to contentSkip to conversation

udevadm

DISCUSSION Kay Sievers 3 participants 5 messages Nov 8, 2007 – Nov 9, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

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"5cb03bd851adc6d269b13bdf2b1bfded2b96b9

The next udev release will only have the daemon and one admin binary that contains everything. Symlinks to udevadm with the current tool names provide the same functionality as before.

Just a heads-up for stuff like mkinitramfs and friends, it needs to include the /sbin/udevadm binary, instead of only the symlinks. :) Would be good to check/prepare that if needed, to be ready for the new version.

Thanks,
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

At Fri, 09 Nov 2007 00:32:57 +0100,

Quoted 5 lines · Kay Sievers

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"5cb03bd851adc6d269b13bdf2b1bfded2b96b9

Quoted 8 lines

The next udev release will only have the daemon and one admin binary that contains everything. Symlinks to udevadm with the current tool names provide the same functionality as before.

Just a heads-up for stuff like mkinitramfs and friends, it needs to include the /sbin/udevadm binary, instead of only the symlinks. :) Would be good to check/prepare that if needed, to be ready for the new version.

Here is a trivial patch to fix typo in udevadm.xml.

Thanks,
MUNE

--

 udevadm.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
udevadm.xml +1 -1
index 0dd1570..0518c3b 100644
@@ -51,7 +51,7 @@
 
       <refsect1><title>DESCRIPTION</title>
         <para>udevadm expects a command and command specific options.  It
-        controls the runtime behavior of udev, request kernel events,
+        controls the runtime behavior of udev, requests kernel events,
         manages the event queue, and provides simple debugging mechanisms.</para>
       </refsect1>
 

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Kay Sievers
Quoted 3 lines · MUNEDA Takahiro

At Fri, 09 Nov 2007 00:32:57 +0100,

Here is a trivial patch to fix typo in udevadm.xml.

Thanks for the 's'. :) Applied.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Kay Sievers
Quoted 6 lines · Kay Sievers

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

Quoted 9 lines

The next udev release will only have the daemon and one admin binary that contains everything. Symlinks to udevadm with the current tool names provide the same functionality as before.

Just a heads-up for stuff like mkinitramfs and friends, it needs to include the /sbin/udevadm binary, instead of only the symlinks. :) Would be good to check/prepare that if needed, to be ready for the new version.

Hi Kay!

There is a typo in the Makefile:

Makefile +1 -1
@@ -16,7 +16,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 
-VERSION = 116
+VERSION = 118
 

Greetings
Matthias

Signature · 11 lines
Matthias Schwarzott (zzam)

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#4 lore raw
In reply to Kay Sievers
Quoted 8 lines · Matthias Schwarzott
Quoted 5 lines · Kay Sievers

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel