Re: udev on CEntOS7 - can't get a match, looking for tips...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hmmm, I thought := assigned a key just like +=, except := locked it so 
it could not be changed later.  Am I misunderstanding the man page for udev?

Thanks,

John H. Nyhuis
Desk: (206)-685-8334
jnyhuis@xxxxxx
Box 359461, 15th floor, 106

On 10/29/2019 4:31 PM, Leon Fauster via CentOS wrote:
> Am 29.10.19 um 23:41 schrieb John H Nyhuis:
>> Thanks, I did catch the mistype (after IU posted).  Still no match with
>> the typo fixed... :-(
>>
>> Thanks,
>>
>> John H. Nyhuis
>> Desk: (206)-685-8334
>> jnyhuis@xxxxxx
>> Box 359461, 15th floor, 106
>>
>> On 10/29/2019 4:03 AM, Tony Mountifield wrote:
>>> In article <7025a0a8-1471-530d-dad0-3770e902ca31@xxxxxx>,
>>> John H Nyhuis <jnyhuis@xxxxxx> wrote:
>>>> The mtx binary requires my tape library to be assigned a sg# driver, 
>>>> but
>>>> the kernel periodically renumbers the sg devices.  Normally, we would
>>>> write a udev rule to manually assign a persistent name, but it looks
>>>> like things have changed as I can't seem to get a match on CEntOS7.  
>>>> I'd
>>>> appreciate any feedback or pointers to help me get my rule working.  My
>>>> two attempts are below.
>>>>
>>>> cat /etc/udev/rules.d/90-local.rules
>>>>
>>>> KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \
>>>> ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8"
>>>>
>>>> SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \
>>>> ATTRS{model}=="Scalar i40-i80  ", SYMLINK:="sg8"
>>>
>>> You have a typo: scsi_genric instead of scsi_generic.
>>>
>>> Don't know if that is the reason.
>>>
> 
> 
> SYMLINK:="sg8" -> SYMLINK+="sg8"
> 
> -- 
> Leon
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux