On Sun, Sep 3, 2017 at 9:26 PM, Mike Gilbert <flop...@gentoo.org> wrote:
>
> I would suggest you utilize the existing symlinks in one of the
> /dev/disk/ sub-directories, or create some udev rules to create your
> own symlinks based on whatever metadata you wish. I would also suggest
> you read the udev(7) manual page.
>

++

Labels are the most obvious solution to this sort of problem
(especially if you want a generic system image that you can install in
multiple places and not have to tweak).  UUIDs are the other obvious
solution, but that does need to be tailored to each install.

I have used extra symlinks with udev in other situations.  For
example, I used to control two tuners via pl2303 serial ports and I
used a rule to add a symlink based on the physical USB port each was
plugged into, since otherwise I couldn't rely on the two devices being
enumerated consistently.

-- 
Rich

Reply via email to