<div dir="ltr"><div dir="ltr">On Wed, Mar 4, 2020 at 9:45 AM Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>> Felix <<a href="mailto:systemd-devel@fj.hamme.net" target="_blank">systemd-devel@fj.hamme.net</a>> schrieb am 03.03.2020 um 15:20 in Nachricht<br>
<28933_1583245223_5E5E67A7_28933_1176_1_13488396-f23a-8701-3f64-260f060119d5@ham<br>
<a href="http://e.net" rel="noreferrer" target="_blank">e.net</a>>:<br>
> Thank you for your help! I've found my problem and it was way simpler<br>
> than I thought.<br>
> <br>
> The systemd.link manpage mentions:<br>
> "The first (in lexical order) of the link files that matches a given<br>
> device is applied. Note that a default file 99-default.link is shipped<br>
> by the system. Any user-supplied .link should hence have a lexically<br>
> earlier name to be considered at all."<br>
> <br>
> My .link file wasn't considered because its file name came lexically<br>
> after '99-default.link'.<br>
<br>
A word of warning: With Unicode collating sequences the ordering of such files can sometimes be "unexpected" (e.g. comparing '-' with '.').<br></blockquote><div><br></div><div>AFAIK systemd itself always uses ASCIIbetical order (as it should). So it might not match with `ls` and `sort`, true, but at least it should work consistently regardless of locale.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>