'Why is `cat /sys/devices/virtual/net/br0/name_assign_type` failing with "Invalid argument"?

While examining the details for some bug, I noticed that the "file" /sys/devices/virtual/net/br0/name_assign_type (that has permissions -r--r--r--) cannot be read.

# cat /sys/devices/virtual/net/br0/name_assign_type
cat: /sys/devices/virtual/net/br0/name_assign_type: Invalid argument

What is causing this error?

I found a similar case for /sys/devices/virtual/net/br0/phys_port_id where the error is "Operation not permitted", however.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source