Hi Marco Thanks for your swift response!
On Tue, 2005-02-15 at 19:13 +0100, Marco d'Itri wrote: > On Feb 15, Andree Leidenfrost <[EMAIL PROTECTED]> wrote: > > > This happens despite the presence of rules in the original versions of > > /etc/udev/udev.rules and /etc/rules.d/udev.rules which say to use > > 'floppy' as the group. > > BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", \ > PROGRAM="/bin/cat /proc/ide/%k/model", RESULT="IOMEGA ZIP *", \ > NAME{all_partitions}="%k%n", GROUP="floppy" > > Please check what is not matching, if it is the removable flag or the > content of /proc/ide/%k/model . Removable flag looks good: >cat /sys/bus/ide/devices/0.1/block/removable >1 Model looks good as well: >grep "IOMEGA ZIP *" /proc/ide/hdb/model >IOMEGA ZIP 100 ATAPI > Also, does only /dev/hdb4 have the wrong permissions or /dev/hdb too? It's only /dev/hdb4, all other /dev/hdb* (including /dev/hdb itself) have group floppy as expected.* For the record, it's also recognised as a floppy: >grep "floppy*" /proc/ide/hdb/media >floppy Also, when I manually change the group to floppy and then mount, udev changes the group back to disk with the following entry in /var/log/syslog: Feb 16 20:41:31 aurich udev[8428]: removing device node '/dev/hdb4' Feb 16 20:41:31 aurich kernel: /dev/ide/host0/bus0/target1/lun0: p4 Feb 16 20:41:31 aurich udev[8441]: creating device node '/dev/hdb4' Is there any kind of debug mode for udevd whre I can see what rule it uses and applies to what node? I've played a bit with udevinfo but that wasn't too fruitful. It seems to be more geared towards providing information about the hardware. Am I overlooking something? Cheers Andree * When manually stopping udev (yeah, not recommended, I know ;-) ), all /dev/hdb* device nodes have group disk. I believe this is perfectly normal, though, isn't it? -- Andree Leidenfrost Sydney - Australia
signature.asc
Description: This is a digitally signed message part