On Wed, Aug 1, 2018 at 7:18 PM Francis Moreau <francis.m...@gmail.com>
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

Reply via email to