[systemd-devel] Best way to reapply link configurations?

Anita Zhang the.anitazha at gmail.com
Tue Aug 3 08:25:43 UTC 2021


This is my first time using link files and I want to be able to
reapply a link configuration if, for example, RxBufferSize= changes.
For network and netdev, there is `networkctl reconfigure <device>` but
there wasn't anything as obvious in `udevadm`.

I've found some ways to make it work but I wanted to see if one was
particularly better (or if there was a simpler alternative). For
example the following commands worked:

`echo add > /sys/class/net/eth0/uevent`

`udevadm trigger --action=add /sys/class/net/eth0`

`udevadm test /sys/class/net/eth0`

Thanks,
Anita


More information about the systemd-devel mailing list