[Lunar-commits] <moonbase> udev, lunar-init: added udev version info in logs. Dennis asked for it.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Wed Mar 11 22:37:24 CET 2009


commit 2c9906f724cdd81dd4565457cec75bd75c320874
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Wed Mar 11 22:37:24 2009 +0100

    udev, lunar-init: added udev version info in logs.
    Dennis asked for it.
---
 filesys/udev/udev      |    1 +
 utils/lunar-init/mount |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/filesys/udev/udev b/filesys/udev/udev
index de822ae..770f953 100644
--- a/filesys/udev/udev
+++ b/filesys/udev/udev
@@ -8,6 +8,7 @@ case "$1" in
   start)
     rm -rf /dev/.udevdb
     export ACTION=add
+    echo "Udev version `udevd --version` is starting"
     /sbin/udevd --daemon
     /sbin/udevadm trigger
     /sbin/udevadm settle
diff --git a/utils/lunar-init/mount b/utils/lunar-init/mount
index 3a21dc9..964ceee 100644
--- a/utils/lunar-init/mount
+++ b/utils/lunar-init/mount
@@ -220,7 +220,7 @@ start()
             ln -sf /dev/ram0 /dev/ram
         fi
 		run_without_msg "echo > /proc/sys/kernel/hotplug" # Hotplug agents are deprecated!
-	    run_with_msg "Starting udev device handling daemon" "/sbin/udevd --daemon"
+	run_with_msg "Starting udev device handling daemon version `udevd --version`" "/sbin/udevd --daemon"
         run_with_msg "Activating coldplug devices" "/sbin/udevadm trigger"
         run_with_msg "Devices activation - please wait" "/sbin/udevadm settle"
         # This is first aid code for devices hard to init (too slow or to buggy for init by 1st time)


More information about the Lunar-commits mailing list