Hi Marco,

Le 04.08.2005 18:26:48, Marco d'Itri a écrit :
On Aug 04, "Jean-Luc Coulon (f5ibh)" <[EMAIL PROTECTED]>
wrote:

> My ide CD burner is created at boot with the 'floppy' group:
> brw-rw----  1 root floppy 3, 0 2005-08-04 15:02 /dev/hda
>
> If I do a restart of udev (/sbin/udevstart), it get the 'cdrom'
group:
> brw-rw----  1 root cdrom 3, 0 2005-08-04 15:02 /dev/hda

And do you try to access the device in any way before its group
changes?

I can access it and work normally with it... if I'm root or member of the 'floppy' group. As I've no floppy on this amchine, nobody was memmber of this group, this is why I've remarked the problem.


Please report the output of:

udevinfo -a -p /sys/block/hda/

Here we are:
udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

device '/sys/block/hda' has major:minor 3:0
  looking at class device '/sys/block/hda':
    SUBSYSTEM=="block"
    SYSFS{dev}=="3:0"
    SYSFS{range}=="1"
    SYSFS{removable}=="1"
    SYSFS{size}=="1420392"
SYSFS{stat}==" 0 0 0 0 0 0 0 0 0 0 0"

follow the "device"-link to the physical device:
looking at the device chain at '/sys/devices/pci0000:00/0000:00:0f.1/ide0/0.0':
    BUS=="ide"
    ID=="0.0"
    DRIVER=="ide-cdrom"

looking at the device chain at '/sys/devices/pci0000:00/0000:00:0f.1/ide0':
    BUS==""
    ID=="ide0"
    DRIVER=="unknown"

looking at the device chain at '/sys/devices/pci0000:00/0000:00:0f.1':
    BUS=="pci"
    ID=="0000:00:0f.1"
    DRIVER=="VIA_IDE"
    SYSFS{class}=="0x01018a"
    SYSFS{device}=="0x0571"
    SYSFS{irq}=="177"
    SYSFS{local_cpus}=="1"
SYSFS{modalias}=="pci:v00001106d00000571sv00001043sd000080EDbc01sc01i8a"
    SYSFS{subsystem_device}=="0x80ed"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{vendor}=="0x1106"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS==""
    ID=="pci0000:00"
    DRIVER=="unknown"

ciao,
Marco

--
Regards

Jean-Luc

Attachment: pgpvM7KndWZyV.pgp
Description: PGP signature

Reply via email to