[CentOS] persistent generic device for tape changer
Leon Fauster
leonfauster at googlemail.com
Fri Feb 8 11:21:28 UTC 2019
> Am 08.02.2019 um 00:13 schrieb Ron Loftin <reloftin at twcny.rr.com>:
>
> On Thu, 2019-02-07 at 22:29 +0100, Helmut Drodofsky wrote:
>> Hello Ron,
>>
>> sounds good. I have 2 tape changer. I persume, udev creates the same
>> link for both.
>>
>> Can I modify
>> SYMLINK+="changer-$env{ID_SERIAL}"
>>
>> The serial should be unique.
>>
>> Viele Grüße
>> Helmut Drodofsky
>>
>>
>
> I've taken you as far as I can go. Now you will have to experiment a
> bit for your use case. I should point out that at least in my system,
> the link with the serial number in it shows up even with the line
> commented in the rules file.
>
> As always, YMMV.
Maybe
.... ATTRS{serial}=="likethis16c07338d2a294c" , SYMLINK+="mybackup/changer1" ...
and for the second one
... ATTRS{serial}=="likethis9ae76c073f5ccb8" , SYMLINK+="mybackup/changer2" ...
?
--
LF
More information about the CentOS
mailing list