Christophe de Rivière a écrit :
Le Lundi 6 Février 2006 15:18, François B a écrit :
[...]
D'ailleurs cette reponse est tjrs la meme quelque soit le periph sous
/dev... J'aimerais comprendre le lien entre kernel / usb-storage / udev et
le nom du periph sous /dev ....
Ou pourrais je trouver le lien qui m'expliquera ça
A moins que vous ne le connaissiez déjà :
http://www.reactivated.net/writing_udev_rules.html
Merci
F.
Merci pour ce lien....
Et je pense avoir la raison des pb chez moi :
la commande :
udevinfo -a -p /class/scsi_tape/st0
me donne :
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/class/scsi_tape/st0' has major:minor 9:0
looking at class device '/sys/class/scsi_tape/st0':
SUBSYSTEM=="scsi_tape"
SYSFS{default_blksize}=="-1"
SYSFS{default_compression}=="-1"
SYSFS{default_density}=="-1"
SYSFS{defined}=="1"
SYSFS{dev}=="9:0"
follow the "device"-link to the physical device:
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:1d.7/usb4/4-4/4-4:1.0/host5/target5:0:0/5:0:0:0':
BUS=="scsi"
ID=="5:0:0:0"
DRIVER=="st"
Erreur de segmentation
^^^^^^^^^^^^^^^^^^^^^^
Pas terrible !!!!!!!!!
ceci dit le dat fonctionne tres bien
Merci F.
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________