1 |
On Sun, Sep 3, 2017 at 9:26 PM, Mike Gilbert <floppym@g.o> wrote: |
2 |
> |
3 |
> I would suggest you utilize the existing symlinks in one of the |
4 |
> /dev/disk/ sub-directories, or create some udev rules to create your |
5 |
> own symlinks based on whatever metadata you wish. I would also suggest |
6 |
> you read the udev(7) manual page. |
7 |
> |
8 |
|
9 |
++ |
10 |
|
11 |
Labels are the most obvious solution to this sort of problem |
12 |
(especially if you want a generic system image that you can install in |
13 |
multiple places and not have to tweak). UUIDs are the other obvious |
14 |
solution, but that does need to be tailored to each install. |
15 |
|
16 |
I have used extra symlinks with udev in other situations. For |
17 |
example, I used to control two tuners via pl2303 serial ports and I |
18 |
used a rule to add a symlink based on the physical USB port each was |
19 |
plugged into, since otherwise I couldn't rely on the two devices being |
20 |
enumerated consistently. |
21 |
|
22 |
-- |
23 |
Rich |