Re: [systemd-devel] Question about the default value of NamePolicy=
Hello, On Wed, Aug 1, 2018 at 7:36 PM, Mantas Mikulėnas wrote: > > AFAIK, "onboard" and (hotplug) "slot" names are mutually exclusive, so their > relative ordering isn't that important... but if the firmware marks a device > as on-board *and* also provides a slot number, then it's more likely that > the slot# is garbage. > Thanks for the info. > Both "onboard" and "slot" are preferred over "path" because they're shorter > and more descriptive (as long as the firmware provides correct values). The > path, being based on PCI bus addressing, doesn't say much to most people -- > at best, it's just a stable identifier. (For example, my server's integrated > NIC port #1 is better named "eno1", not "enp3s0f0".) > "path" can also run onto problem when adapters are replaced by new ones with multiple ports for example. Would "onboard" or "slot" be a better alternative for such case ? Thanks. -- Francis ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Question about the default value of NamePolicy=
On Wed, Aug 1, 2018 at 7:18 PM Francis Moreau wrote: > Hello, > > I have a question regarding the default value of NamePolicy= defined > in 99-default.link. > > The value is "NamePolicy=kernel database onboard slot path" > > Could someone explain me why "onbard" is preferred over "slot" which > is preferred over "path" ? > AFAIK, "onboard" and (hotplug) "slot" names are mutually exclusive, so their relative ordering isn't that important... but if the firmware marks a device as on-board *and* also provides a slot number, then it's more likely that the slot# is garbage. Both "onboard" and "slot" are preferred over "path" because they're shorter and more descriptive (as long as the firmware provides correct values). The path, being based on PCI bus addressing, doesn't say much to most people -- at best, it's just a stable identifier. (For example, my server's integrated NIC port #1 is better named "eno1", not "enp3s0f0".) -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Question about the default value of NamePolicy=
Hello, I have a question regarding the default value of NamePolicy= defined in 99-default.link. The value is "NamePolicy=kernel database onboard slot path" Could someone explain me why "onbard" is preferred over "slot" which is preferred over "path" ? Thanks. -- Francis ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel