[arch-general] [PATCH] udev: do not automatically save persistent net/cd udev rules to /etc on boot

Tom Gundersen teg at jklm.no
Tue Mar 15 18:31:12 EDT 2011


udev contains rules to generate persistent symlinks, if they do not work
as intendend this should be reported upstream.

Furthermore, upstream discourages using /dev/.udev as its format might
change at any time. As of upstream commit 5f59fa0900a5 the location has
changed to /dev/.run/udev, so we would have to make a change either way.

Signed-off-by: Tom Gundersen <teg at jklm.no>
---
 rc.sysinit |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 4b24098..ef8077a 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -371,14 +371,6 @@ fi
 # Set console font if required
 set_consolefont
 
-# Adding persistent network/cdrom generated rules
-for f in cd net; do
-    [[ -f /dev/.udev/tmp-rules--70-persistent-$f.rules ]] || continue
-    stat_busy "Adding persistent $f udev rules"
-    /bin/cat "/dev/.udev/tmp-rules--70-persistent-$f.rules" >> "/etc/udev/rules.d/70-persistent-$f.rules"
-    stat_done
-done
-
 /bin/dmesg >| /var/log/dmesg.log
 
 # final hwclock setting needs to be done at this point
-- 
1.7.4.1



More information about the arch-general mailing list