Systemd is the init.
/etc/fstab is optional.
initramfs could be running systemd (e.g. dracut supports it), thus
systemd would be beofre switch_root.
However initramfs & switch_root are optional as well.
Hence the bootflow on a modern linux distribution like Clear Linux is:
kernel -> systemd ->
thanks
The local-fs.target will active -.mount and boot.mount which generated by
systemd-generator.
and -.mount will mount the "/" and boot.mount will mount the "/boot".
who call the switch_root ? and when ?
At 2015-10-29 19:05:33, "Kay Sievers" wrote:
>On Thu, Oct 29, 2015 at 3:26 AM, k
On Thu, Oct 29, 2015 at 3:26 AM, kennedy wrote:
> the boot sequence is it right ?
> kernel --> initramfs --> switch_root --> systemd --> init & mount /etc/fstab
> --> user login
http://www.freedesktop.org/software/systemd/man/bootup.html
Kay
___
system
the boot sequence is it right ?
kernel --> initramfs --> switch_root --> systemd --> init & mount /etc/fstab
--> user login___
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel