[systemd-devel] How many times is the root mounted in boot up?
cee1
fykcee1 at gmail.com
Mon Jun 1 07:56:13 PDT 2015
Hi all,
In case of no initrd and mounting the root by specifying
"root=/dev/sdaN" in kernel command line, how many time is the root
mounted in systemd?
I find:
1. systemd will generate a "-.mount" unit from /proc/self/mountsinfo
2. systemd will generate a "-.mount" unit by systemd-fstab-generator
Q:
* Which one takes priority?
* For 1, it will not do the mount action, but 2 will. Am I right? If
so, why we mount root here(again)?
And systemd-remount-fs.service will remount the root again, thus apply
options in fstab?
BTW, where are the units generated by generators?
--
Regards,
- cee1
More information about the systemd-devel
mailing list