tree-wide: also settle on "initrd" instead of "initial RAM disk"

With this the concept is now called the same way everywhere except where
historical info is relevant or where the other names are API.
This commit is contained in:
Lennart Poettering
2022-09-23 15:12:18 +02:00
parent 32e2767080
commit 55c041b4e4
16 changed files with 66 additions and 69 deletions
+2 -2
View File
@@ -1858,7 +1858,7 @@ static int do_reexecute(
args[i++] = argv[j];
assert(i <= args_size);
/* Re-enable any blocked signals, especially important if we switch from initial ramdisk to init=... */
/* Re-enable any blocked signals, especially important if we switch from initrd to init=... */
(void) reset_all_signal_handlers();
(void) reset_signal_mask();
(void) rlimit_nofile_safe();
@@ -2052,7 +2052,7 @@ static void log_execution_mode(bool *ret_first_boot) {
if (in_initrd()) {
*ret_first_boot = false;
log_info("Running in initial RAM disk.");
log_info("Running in initrd.");
} else {
int r;
_cleanup_free_ char *id_text = NULL;