summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-13 14:35:56 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-14 22:12:44 +0100
commit9f563f2792e17fba3474dc197034a24c1628ef26 (patch)
tree4b9198c1bb22d91577fa50120f84082df19c485e /docs
parentca6ce62d2a437432082b5c6e5d4275d56055510f (diff)
downloadsystemd-9f563f2792e17fba3474dc197034a24c1628ef26.tar.gz
tree-wide: use mode=0nnn for mount option
This is an octal number. We used the 0 prefix in some places inconsistently. The kernel always interprets in base-8, so this has no effect, but I think it's nicer to use the 0 to remind the reader that this is not a decimal number.
Diffstat (limited to 'docs')
-rw-r--r--docs/INITRD_INTERFACE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/INITRD_INTERFACE.md b/docs/INITRD_INTERFACE.md
index 6a54f9f7a6..de91ba7395 100644
--- a/docs/INITRD_INTERFACE.md
+++ b/docs/INITRD_INTERFACE.md
@@ -21,7 +21,7 @@ ArchLinux initrds.
* The initrd should mount `/run/` as a tmpfs and pass it pre-mounted when
jumping into the main system when executing systemd. The mount options should
- be `mode=755,nodev,nosuid,strictatime`.
+ be `mode=0755,nodev,nosuid,strictatime`.
* It's highly recommended that the initrd also mounts `/usr/` (if split off) as
appropriate and passes it pre-mounted to the main system, to avoid the