Redhat 7.1 Regras do Udev muda SYMLINK + E Nome [duplicado]

3

Estou tentando instalar o Oracle ASM no RHEL 7.1, para tentar configurar as regras do Udev. Eu observei que há um novo atributo nas regras do udev SYMLINK+ , que parece ser a substituição do atributo NAME .

Regras de trabalho:

SUBSYSTEM=="block", KERNEL=="powerae",  SYMLINK+="ORAdisk1", OWNER="grid", GROUP="oinstall", MODE="0660"

Não funciona regras:

SUBSYSTEM=="block", KERNEL=="powerae",  NAME="ORAdisk1", OWNER="grid", GROUP="oinstall", MODE="0660"

Eu pesquisei na nota de lançamento do Redhat que não encontrei nenhum detalhe sobre os ruys do udev,

As regras do udev do RHEL 6 são compatíveis com o RHEL 7? Por favor explique.

    
por malatesh 19.10.2015 / 12:01

1 resposta

1

Só está presente nas interfaces de rede. Bem explicado na página do homem mais velho abaixo.

man udev

NAME

The name to use for a network interface. The name of a device node can not be changed by udev, only additional symlinks can be created.

Mesmo com uma versão antiga 175

NAME

   What a network interface should be named.

   Also, as a temporary workaround, this is what a device node should
   be named; usually the kernel provides the defined node name or
   creates and removes the node before udev even receives any event.
   Changing the node name from the kernel's default creates
   inconsistencies and is not supported. If the kernel and NAME
   specify different names, an error is logged. udev is only expected
   to handle device node permissions and to create additional
   symlinks, not to change kernel-provided device node names. Instead
   of renaming a device node, SYMLINK should be used. However, symlink
   names must never conflict with device node names, as that would
   result in unpredictable behavior.
    
por 10.06.2016 / 07:30

Tags