[systemd-devel] 99-default.link which such a high number ?
Mike Gilbert
floppym at gentoo.org
Fri Sep 25 14:59:33 UTC 2020
On Fri, Sep 25, 2020 at 10:46 AM Francis Moreau <francis.moro at gmail.com> 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.
More information about the systemd-devel
mailing list