Helmut Jarausch <jarau...@skynet.be> wrote:
>
> Since the hard drives within theses enclosures have different
> capacities, there is a different ATTR{size} value in the
> block-subsystem.
>
> How can I write to different udev rules to distinguish these two
> external hard disks?

KERNEL=="sd[a-z]*", ATTR{size}=="31...", ATTRS{model}=="...", SYMLINK+="d1%n", 
OPTIONS="last_rule"


Reply via email to