[Level 2] How to simulate udevinfo in Ubuntu 11.04
When you try to use command udevinfo in Ubuntu 11.04, you would get the response "udevinfo: command not found".
How to simulate the command udevinfo?
Use command udevinfo with info option.
Ex.
# udevadm info -q all -n /dev/video0
You could also create a function named udevinfo as you like
Ex.
regards,
Stanley Huang
How to simulate the command udevinfo?
Use command udevinfo with info option.
Ex.
# udevadm info -q all -n /dev/video0
You could also create a function named udevinfo as you like
Ex.
# udevinfo () { udevadm info -a -p `udevadm info -q path -n "$1"`; }
# udevinfo /dev/video0 ...Wish this helps.
regards,
Stanley Huang
Comments
Post a Comment