You are not logged in.
While reading the Arch Wiki and other sources, I noticed there are four paths where and how to set the kernel cmdline:
/etc/cmdline
/etc/cmdline.d/*.conf
/etc/kernel/cmdline
/etc/kernel/cmdline.d/*.conf
If I read correctly and understand the informations correctly, /etc/cmdline is a single configuration file and has a higher priority than the configuration files in /etc/cmdline.d/*.conf, where all the files are merged into one configuration during the creation of the initramfs or UKI. Then, /etc/kernel/cmdline and /etc/kernel/cmdline.d/*.conf are essentially the same thing. So, what is the purpose of this separation?
Last edited by StopkaPeter (2024-12-23 21:56:31)
Offline
Not really if this is the true reason, but I'd say it's about maintenance and organization, it's also probably just more flexible.
It requires more courage to suffer than to die.
Offline