On Sun, 2012-05-13 at 12:16 +0200, Laurent Bercot wrote:
>  Just have a single rule for /dev/sd* and have a
>   if [ "$DEV" = "/dev/sda" ] ; exit 0
> line at the beginning of your rule script. (Maybe $DEV isn't the right
> variable name, I don't remember.)

I'm not sure the device name is deterministic if the device is USB
attached.  You'd probably have to look at the UUID or something.

-- 
Michael J. Hammel <[email protected]>

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to