A
A
Andrey Myvrenik2015-11-12 14:08:12
linux
Andrey Myvrenik, 2015-11-12 14:08:12

What does the number at the beginning of the configuration file name mean?

The configuration of some things (Xorg, fontconfig, systemd, etc.) is done with the help of several files, in the name of which there is some number. For example:

$ ls /etc/fonts/conf.avail
10-autohint.conf
10-no-sub-pixel.conf
11-lcdfilter-default.conf
11-lcdfilter-legacy.conf
20-unhint-small-vera.conf
25-unhint-nonlatin.conf
...

What do these numbers mean?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2015-11-12
@gim0

usually - the order of application.

V
Vitaliy Orlov, 2015-11-12
@orlov0562

This is used for several purposes: firstly, the file name is uniqueized in this way, and secondly, sorting is done in this way, which in turn is used for the order / priority of loading configs. Less often, numbering is used for application-specific needs, such as specifying a version or a backup marker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question