]> err.no Git - systemd/commitdiff
fix position of raw rules in gentoo config file
authorGreg KH <greg@press.(none)>
Tue, 12 Jul 2005 22:46:54 +0000 (15:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 22:46:54 +0000 (15:46 -0700)
this solve issue of raw1394 device nodes showing up in the proper place.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
etc/udev/gentoo/udev.rules

index a0e17359bae7f30c64181513139e86275cad3c25..572e5c8ce13f8eab01ffa739e8055469e067d492 100644 (file)
@@ -120,6 +120,11 @@ KERNEL=="tun",             NAME="net/%k"
 # ramdisk devices
 KERNEL=="ram[0-9]*",   NAME="rd/%n", SYMLINK+="%k"
 
+# IEEE1394 (firewire) devices (must be before raw devices below)
+KERNEL=="raw1394",     NAME="%k",              GROUP="video"
+KERNEL=="dv1394*",     NAME="dv1394/%n",       GROUP="video"
+KERNEL=="video1394*",  NAME="video1394/%n",    GROUP="video"
+
 # raw devices
 KERNEL=="raw[0-9]*",   NAME="raw/%k", GROUP="disk"
 KERNEL=="ram*",                NAME="%k", GROUP="disk"
@@ -243,11 +248,6 @@ KERNEL=="issm*",   NAME="infiniband/%k"
 # tpm devices
 KERNEL=="tpm*",        NAME="%k", OWNER="tss", GROUP="tss", MODE="0600"
 
-# IEEE1394 (firewire) devices
-KERNEL=="raw1394", NAME="%k", GROUP="video"
-KERNEL=="dv1394*", NAME="dv1394/%n", GROUP="video"
-KERNEL=="video1394*", NAME="video1394/%n", GROUP="video"
-
 # be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems
 # run /etc/hotplug.d/ stuff only if we came from a hotplug event, not for udevstart
 ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"