need help with udev rule
In a udev rule, I added PROGRAM="something"
Now, instead of KERNEL=="hdc", how do I make KERNEL== the output of PROGRAM?
This is necessary since hdc don't always point to the device in question. something it is hdd depending on output of PROGRAM. Is this even possible to write into a udev rule?
Any help is greatly appreciated.
You can't assign the kernel name (the name that the kernel has give to the device). You can assign the NAME.
`==' is a logical operator, the test for equality used to test whether two variables have the same value.
`=' is the operator you should use to assign a value to a variable.
If you want to assign the device name to be the result of the program you should use something like
For some reason /dev/hda1 mounted as root (/) isn't being symlinked to /dev/root
( /dev/hda1 -> /dev/root symlink is missing )
They suggested I do:
|All times are GMT -5. The time now is 07:35 AM.|