Re: 99-default.link which such a high number ?

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

 



On Fri, Sep 25, 2020 at 10:46 AM Francis Moreau <francis.moro@xxxxxxxxx> wrote:
>
> Hello,
>
> I want to override /usr/lib/systemd/network/99-default.link so I need
> to create a file starting with "99-" prefix.
>
> This doesn't seem logical to me because the numbers are supposed to
> encode the priority however nothing is left to the user if the
> defaults used is 99.
>
> I find more logical for the defaults to use a small number such as 10.
>
> What am I missing ?

To quote systemd.link(5):

"The first (in lexical order) of the link files that matches a given
device is applied."

So, lower numbered files take priority over higher numbered files,
assuming the device is matched.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



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

  Powered by Linux