Package: udev
Version: 0.050-5
Followup-For: Bug #289525

Hello,

The test for ZIP drive doesn't work: '/media' should be
replaced by '/model' at the end of the 'PROGRAM' directive
(as suggested by the reporter of #289525).

The test could be also a little bit relaxed in order to work
also with IOMEGA ZIP 250.

Thanks,

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages udev depends on:
ii  hotplug                  0.0.20040329-16 Linux Hotplug Scripts
ii  initscripts              2.86.ds1-1      Standard scripts needed for bootin
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  makedev                  2.3.1-75        Creates device files in /dev
ii  sed                      4.1.2-8         The GNU sed stream editor

-- debconf information:
  udev/devfs-warning:
* udev/reboot-warning:

-- 
Cyril  
--- udev-0.050/extra/udev.rules.orig    2005-01-24 11:23:09.000000000 +0100
+++ udev-0.050/extra/udev.rules 2005-01-24 11:28:22.000000000 +0100
@@ -17,7 +17,7 @@
 BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat 
/proc/ide/%k/media", RESULT="cdrom*", NAME="%k", MODE="0660", GROUP="cdrom"
 
 # workaround for devices which do not report media changes
-BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat 
/proc/ide/%k/media", RESULT="IOMEGA ZIP 100 ATAPI", 
NAME{all_partitions}="%k%n", MODE="0660", GROUP="floppy"
+BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat 
/proc/ide/%k/model", RESULT="IOMEGA ZIP [12]?0 ATAPI", 
NAME{all_partitions}="%k%n", MODE="0660", GROUP="floppy"
 
 # permissions for IDE floppy devices
 BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat 
/proc/ide/%k/media", RESULT="floppy*", NAME="%k", MODE="0660", GROUP="floppy"

Reply via email to