On 2021-11-30, tastytea <[email protected]> wrote:
> On 2021-11-29 22:47-0600 Dale <[email protected]> wrote:
>
>> Now if I can figure out how to reset the list of /dev/sd* names that
>> are lurking about and inconsistent, that would be like striking gold.
>>  Every time I hook up my external drive, it gets a different sd*
>> name.  It does the same on the SD cards from my trail cameras too but
>> I can auto mount those. 
>
> I don't think it is possible to get consistent sd* names for removable
> media.

You can write udev rules that trigger on the manufacturer, model, and
serial numbers. You can then assign consistent symlinks or even mount
them in predictable locations in the udev rules. I don't remember if
you can change the actual sd* names themselves, but there's no real
need to do so.

> But you could use volume labels with `tune2fs -L` or `tune.exfat
> -L` or `fatlabel` and then mount them via /dev/disk/by-label/*.



Reply via email to