Sounds quite useful.
Would you test if the attached /lib/udev/hdparm does what you want?
diff /lib/udev/hdparm /tmp/hdparm 93c93,98 < DISC=$KEY --- > if [ -L $KEY ] > then > DISC=$(readlink -m $KEY) > else > DISC=$KEY
Sounds quite useful.
Would you test if the attached /lib/udev/hdparm does what you want?
diff /lib/udev/hdparm /tmp/hdparm
93c93,98
< DISC=$KEY
---
> if [ -L $KEY ]
> then
> DISC=$(readlink -m $KEY)
> else
> DISC=$KEY