linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fix for Slackware udev.rules
@ 2005-09-07  8:55 Eugene Crosser
  0 siblings, 0 replies; only message in thread
From: Eugene Crosser @ 2005-09-07  8:55 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 127 bytes --]

Hello gentlemen,

I *think* that the following change is needed, but maybe there is a more
proper way.  Diff attached.

Eugene

[-- Attachment #1.2: udev.rules.diff --]
[-- Type: text/x-patch, Size: 573 bytes --]

--- etc/udev/slackware/udev.rules.orig	2005-08-18 21:04:49.000000000 +0400
+++ etc/udev/slackware/udev.rules	2005-09-07 11:26:46.000000000 +0400
@@ -22,7 +22,7 @@
 BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy*", NAME="%k", GROUP="floppy", MODE="0660"
 
 # permissions for SCSI cd/sg/tape devices
-BUS="scsi", KERNEL="s[grt][0-9]*", SYSFS_type="5", NAME="%k", GROUP="cdrom", MODE="0660"
+BUS="scsi", KERNEL="s[grt][0-9]*", SYSFS{type}="5", NAME="%k", GROUP="cdrom", MODE="0660"
 
 # disk devices
 KERNEL="sd*",		NAME="%k", GROUP="disk"

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-07  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07  8:55 fix for Slackware udev.rules Eugene Crosser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).