Entendendo os dois dígitos no início do nome do arquivo - xorg.conf.d,polkit-1/rules.d/,sysctl.d e etc

Entendendo os dois dígitos no início do nome do arquivo em alguma configurações do Linux.
Buscando na internet e no manual das configurações, segue a explicação

Exemplos de pastas com estas configuração
/etc/X11/xorg.conf.d
/etc/sysctl.d
/etc/udev/rules.d

exemplo:
/etc/udev/rules.d/60-scheduler.rules

Esta numeração significa a prioridade que a configuração tem ao iniciar o sistema.

00 - prioridade baixa
99 - prioridade alta

Podemos ver uma aplicação no xorg.conf

As Seções no inicio tem que ter prioridade alta
Section “ServerLayout”
Section “ServerFlags”
Section “Files”

99.ServerLayout.conf

Section "ServerLayout"
        Identifier     "XServer Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0"  "CoreKeyboard"
        InputDevice    "USB Mouse"  "CorePointer"
        # InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Já no final do arquivo a prioridade é baixa
10-Screen.conf

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 16
        SubSection "Display"
                Depth     1
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"  "1600x1200" "1280x1024" "1280x960"
        EndSubSection
EndSection

Obs:Existe a configuração do grub /etc/grub.d…

Esta numeração não é prioridade, e sim o nome do arquivo que decidiram colocar com dígitos.
Ao abrir /boot/grub/grub.cfg vc verá

### BEGIN /etc/grub.d/10_linux ###
******
### END /etc/grub.d/10_linux ###

Que aparecerá o que tem dentro do arquivo /etc/grub.d/10_linux

4 curtidas