[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hotplug, udev and usbkey question



You typed the udevinfo command wrong. 
You typed:

> bob@t40:~$  udevinfo -a -p `udevinfo /dev/sda1`

It's supposed to be

udevinfo -a -p `udevinfo -q path -n /dev/sda1`  

Basically,
"udevinfo -q path -n /dev/sda1"
which means give me the sysfs device path (-q path) for node sda1 (-n
/dev/sda1).  Pass this to the second udevinfo command
"udevinfo -a -p `...` ", meaning
give me all the sysfs attributes (-a) for this sysfs device path (-p).

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes



Reply to: