doc: add missing /etc/finit.d and fix indendation (untabify)

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-01-09 10:38:14 +01:00
parent c71b35e61a
commit 0f445dc9f4
+40 -36
View File
@@ -54,15 +54,15 @@ dynamic services, in contrast to static -- the only difference being
where they are installed and if the `initctl` tool can manage them. where they are installed and if the `initctl` tool can manage them.
/etc/ /etc/
|- finit.d/ |- finit.d/
| | -available/ | |- available/
| | `- my-service.conf | | `- my-service.conf
: |- enabled/ : |- enabled/
: | `- my-service.conf -> ../available/my-service.conf : | `- my-service.conf -> ../available/my-service.conf
: : : :
: |- static-service.conf : |- static-service.conf
: `- another-static.conf # eg. bootstrap run/task commands : `- another-static.conf # eg. bootstrap run/task commands
: :
`- finit.conf # global settings `- finit.conf # global settings
At bootstrap, and `initctl reload`, all .conf files are read, starting At bootstrap, and `initctl reload`, all .conf files are read, starting
@@ -85,33 +85,37 @@ Finit is most comfortable with a traditional style Linux filesystem
layout, as specified in the [FHS][]: layout, as specified in the [FHS][]:
/. /.
|- bin/ |- bin/
|- dev/ # Mounted automatically if devtmpfs is available |- dev/ # Mounted automatically if devtmpfs is available
| |- pts/ # Mounted automatically by Finit if it exists | |- pts/ # Mounted automatically by Finit if it exists
| `- shm/ # Mounted automatically by Finit if it exists | `- shm/ # Mounted automatically by Finit if it exists
|- etc/ |- etc/
|- home/ | |- finit.d/
|- lib/ | | |- available/
|- libexec/ | | `- enabled/
|- mnt/ | `- finit.conf
|- proc/ # Mounted automatically by Finit if it exists |- home/
|- root/ |- lib/
|- run/ # Mounted automatically by Finit if it exists |- libexec/
| `- lock/ # Created automatically if Finit mounts /run |- mnt/
|- sbin/ |- proc/ # Mounted automatically by Finit if it exists
|- sys/ # Mounted automatically by Finit if it exists |- root/
|- tmp/ # Mounted automatically by Finit if it exists |- run/ # Mounted automatically by Finit if it exists
|- usr/ | `- lock/ # Created automatically if Finit mounts /run
`- var/ |- sbin/
|- cache/ |- sys/ # Mounted automatically by Finit if it exists
|- db/ |- tmp/ # Mounted automatically by Finit if it exists
|- lib/ |- usr/
| `- misc/ `- var/
|- lock/ |- cache/
|- log/ |- db/
|- run -> ../run |- lib/
|- spool/ | `- misc/
`- tmp/ |- lock/
|- log/
|- run -> ../run
|- spool/
`- tmp/
Finit starts (very early) by mounting `/dev`, `/proc/`, and `/sys`, Finit starts (very early) by mounting `/dev`, `/proc/`, and `/sys`,
unless they (i.e., `/dev`) are already mounted. When all plugins and unless they (i.e., `/dev`) are already mounted. When all plugins and