Re: Updating network file during boot

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

 




They do stay the same:

Without the Board:
DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:04:00.0/net/eno2
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/mvc-sw1

With the Board:
DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:05:00.0/net/mvc-sw2
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:06:00.0/net/enp6s0

I'm assuming I can use this to match using glob ?

If so, do I use the existing Path= or do I switch to DEVPATH ?

Kind regards
Henti


On Thu, 15 Aug 2024 at 10:33, Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:
On Thu, Aug 15, 2024 at 12:25 PM Henti Smith <henti@xxxxxxxxxxxxxxxxx> wrote:
> root@av20-mvc-01:~# udevadm info /sys/class/net/eno2
> P: /devices/pci0000:00/0000:00:10.0/0000:04:00.0/net/eno2
...
>
> root@av20-mvc-01:~# udevadm info /sys/class/net/mvc-sw1
> P: /devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/mvc-sw1

Does parent device information (0000:00:10.0 or 0000:00:11.0) also
change when an additional card is present/absent?

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux