On Wed, Mar 4, 2020 at 9:45 AM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote:
> >>> Felix <systemd-de...@fj.hamme.net> schrieb am 03.03.2020 um 15:20 in > Nachricht > > <28933_1583245223_5E5E67A7_28933_1176_1_13488396-f23a-8701-3f64-260f060119d5@ham > e.net>: > > Thank you for your help! I've found my problem and it was way simpler > > than I thought. > > > > The systemd.link manpage mentions: > > "The first (in lexical order) of the link files that matches a given > > device is applied. Note that a default file 99-default.link is shipped > > by the system. Any user-supplied .link should hence have a lexically > > earlier name to be considered at all." > > > > My .link file wasn't considered because its file name came lexically > > after '99-default.link'. > > A word of warning: With Unicode collating sequences the ordering of such > files can sometimes be "unexpected" (e.g. comparing '-' with '.'). > 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. -- Mantas Mikulėnas
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel