I'm trying to understand how Ubuntu 12.04's initramfs
runs scripts/local
and in what order. I don't see it in init
. What line of code runs scripts/local
?
Asked
Active
Viewed 639 times
1 Answers
1
scripts/local
is only run when using a local root filesystem (as opposed to a network filesystem). The BOOT
variable in the init
script is set to either local
or nfs
accordingly, so the following line sources scripts/local
:
$ grep -A1 Mounting init
log_begin_msg "Mounting root file system"
. /scripts/${BOOT}

mgorven
- 30,615
- 7
- 79
- 122
-
How similar are the initramfs in other Linuxes? – joeforker May 09 '12 at 01:53