chiark / gitweb /
udevadm: rename source files
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 3 Sep 2008 21:33:06 +0000 (23:33 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 3 Sep 2008 21:33:06 +0000 (23:33 +0200)
NEWS
udev/Makefile.am
udev/udevadm-control.c [moved from udev/udevcontrol.c with 100% similarity]
udev/udevadm-info.c [moved from udev/udevinfo.c with 100% similarity]
udev/udevadm-monitor.c [moved from udev/udevmonitor.c with 100% similarity]
udev/udevadm-settle.c [moved from udev/udevsettle.c with 100% similarity]
udev/udevadm-test.c [moved from udev/udevtest.c with 100% similarity]
udev/udevadm-trigger.c [moved from udev/udevtrigger.c with 100% similarity]
udev/udevd.h

diff --git a/NEWS b/NEWS
index 70cd0de..8f7871d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,10 @@ The udevadm info --device-id-of-file= output has changed to use
 the obvious format. Possible current users should use the --export
 option which is not affected.
 
+The old udev commands symlinks to udevadm are not installed since
+a while, if these symlinks are used, a deprecation warning to stderr
+is printed.
+
 udev 127
 ========
 Bugfixes.
index 4a7c785..d123c0b 100644 (file)
@@ -55,12 +55,12 @@ udevd_LDADD = \
 udevadm_SOURCES = \
        $(common_files) \
        udevadm.c \
-       udevinfo.c \
-       udevcontrol.c \
-       udevtest.c \
-       udevmonitor.c \
-       udevsettle.c \
-       udevtrigger.c
+       udevadm-info.c \
+       udevadm-control.c \
+       udevadm-test.c \
+       udevadm-monitor.c \
+       udevadm-settle.c \
+       udevadm-trigger.c
 
 udevadm_LDADD = \
        $(common_ldadd)
similarity index 100%
rename from udev/udevcontrol.c
rename to udev/udevadm-control.c
similarity index 100%
rename from udev/udevinfo.c
rename to udev/udevadm-info.c
similarity index 100%
rename from udev/udevmonitor.c
rename to udev/udevadm-monitor.c
similarity index 100%
rename from udev/udevsettle.c
rename to udev/udevadm-settle.c
similarity index 100%
rename from udev/udevtest.c
rename to udev/udevadm-test.c
similarity index 100%
rename from udev/udevtrigger.c
rename to udev/udevadm-trigger.c
index 7405704..a22bc96 100644 (file)
@@ -32,7 +32,7 @@
 #define UEVENT_NUM_ENVP                        32
 
 #define UDEVD_CTRL_SOCK_PATH           "@" UDEV_PREFIX "/org/kernel/udev/udevd"
-#define UDEVD_CTRL_MAGIC               "udevd_" VERSION
+#define UDEVD_CTRL_MAGIC               "udevd-128"
 
 enum udevd_ctrl_msg_type {
        UDEVD_CTRL_UNKNOWN,