mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Update Filesystem Layout section slightly, tie in with bootmisc.so
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
da6298aecd
commit
89bb609a7e
1 file changed
+10
-6
+10
-6
@@ -174,18 +174,22 @@ layout, as specified in the [FHS][]:
|
|||||||
|- spool/
|
|- spool/
|
||||||
`- tmp/
|
`- tmp/
|
||||||
|
|
||||||
Finit starts (very early) by mounting `/dev`, `/proc/`, and `/sys`,
|
Finit starts by mounting the critical file systems `/dev`, `/proc/`, and
|
||||||
unless they (i.e., `/dev`) are already mounted. When all plugins and
|
`/sys`, unless they are already mounted. When all plugins and other,
|
||||||
other, core Finit functions, have been set up, all relevant filesystems
|
core Finit functions, have been set up, all relevant filesystems (where
|
||||||
(`PASS > 0`) are checked and mounted from the selected `fstab`, either
|
`PASS > 0`) are checked and mounted from the selected `fstab`, either
|
||||||
the default `/etc/fstab`, or any custom one selected from the command
|
the default `/etc/fstab`, or any custom one selected from the command
|
||||||
line, or at build time.
|
line, or at build time.
|
||||||
|
|
||||||
Any file system not listed `fstab` are automatically mounted by Finit,
|
To provide a smooth ride, file system not listed in the given `fstab`,
|
||||||
as listed above, provided their respective mount point exists.
|
e.g. `/tmp` and `/run`, are automatically mounted by Finit, as listed
|
||||||
|
above, provided their respective mount point exists.
|
||||||
|
|
||||||
With all filesystems mounted, Finit calls `swapon`.
|
With all filesystems mounted, Finit calls `swapon`.
|
||||||
|
|
||||||
|
> **Tip:** to see what happens when all filesystems are mounted, have a
|
||||||
|
> look at the [`bootmisc.so` plugin](plugins.md).
|
||||||
|
|
||||||
At shutdown, and after having stopped all services and other lingering
|
At shutdown, and after having stopped all services and other lingering
|
||||||
processes have been killed, filesystems are unmounted in the reverse
|
processes have been killed, filesystems are unmounted in the reverse
|
||||||
order, and `swapoff` is called.
|
order, and `swapoff` is called.
|
||||||
|
|||||||
Reference in new issue
Block a user