<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Aug 1, 2018 at 7:18 PM Francis Moreau <<a href="mailto:francis.moro@gmail.com">francis.moro@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I have a question regarding the default value of NamePolicy= defined<br>
in 99-default.link.<br>
<br>
The value is "NamePolicy=kernel database onboard slot path"<br>
<br>
Could someone explain me why "onbard" is preferred over "slot" which<br>
is preferred over "path" ?<br></blockquote><div><br></div><div>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.</div><div><br></div><div>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".)</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>