Comment 3 for bug 222458

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote : Re: [Bug 222458] Re: /lib/udev/hdparm Compares Against $DEVNAME.

> Would you test if the attached /lib/udev/hdparm does what you want?
>
> > if [ -L $KEY ]

I'm not in a position to test it right now, although looking at it in
context, I think it should work just fine. One comment,
/lib/udev/hdparm is a /bin/sh script which is dash on 8.04 but dash(1)
says -L is only there for old time's sake and -h should be used instead.