From 87da5b2c65e0a889093c27189212505328aea4ab Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 20 Dec 2004 22:24:19 +0100 Subject: [PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions --- etc/udev/redhat/udev.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/udev/redhat/udev.rules') diff --git a/etc/udev/redhat/udev.rules b/etc/udev/redhat/udev.rules index d394e99016..30d8ba7c98 100644 --- a/etc/udev/redhat/udev.rules +++ b/etc/udev/redhat/udev.rules @@ -104,7 +104,7 @@ KERNEL="sr[0-9]*", BUS="scsi", PROGRAM="/etc/udev/scripts/check-cdrom.sh %k DVD- KERNEL="sr[0-9]*", BUS="scsi", NAME="scd%n", GROUP="disk", MODE="0640" KERNEL="hd[a-z]*", BUS="ide", SYSFS{removable}="1", NAME{ignore_remove}="%k", GROUP="disk", MODE="0640" -KERNEL="hd[a-z]*", NAME="%k", GROUP="disk", MODE="0640" -KERNEL="sd[a-z]*", NAME="%k", GROUP="disk", MODE="0640" +# all block devices +SUBSYSTEM="block", NAME="%k", GROUP="disk", MODE="0640" KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c" -- cgit v1.2.3-54-g00ecf