When Linux boots, does it first read fstab
and mount everything from it, or does it start systemd
before that?
I expect that fstab
comes first, but I didn't know how to confirm it. So, even if you know the answer, please tell me where you learned it yourself so that I can inform myself better before coming to this forum. Particularly, I want to mount tmpfs
on /var/log
and, as I could deduce, all these logs are accessed and written after systemd
started some services. I want to be sure it is mounted before any program tries to access it.
I know this could be understood as a duplicate of this question, but there I kind of repurposed it so, in absence of better ideas, I simply asked again. This time with a clear statement.
/etc/fstab
. – larsks Jun 21 '23 at 23:57