From: Zbigniew Jędrzejewski-Szmek Date: Mon, 13 Jan 2020 20:03:15 +0000 (+0100) Subject: docs: update link and more dots X-Git-Tag: v245-rc1~132^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14561%2Fhead;p=thirdparty%2Fsystemd.git docs: update link and more dots Apparently unicode ellipsis is too much for github. --- diff --git a/docs/INITRD_INTERFACE.md b/docs/INITRD_INTERFACE.md index 04b189f89cd..8985f2761c8 100644 --- a/docs/INITRD_INTERFACE.md +++ b/docs/INITRD_INTERFACE.md @@ -19,7 +19,7 @@ interfaces are currently used by dracut and the 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=755,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 diff --git a/docs/ROOT_STORAGE_DAEMONS.md b/docs/ROOT_STORAGE_DAEMONS.md index 451034dc76d..ff4c7718188 100644 --- a/docs/ROOT_STORAGE_DAEMONS.md +++ b/docs/ROOT_STORAGE_DAEMONS.md @@ -90,9 +90,9 @@ kernel threads are excluded too. Thus, a daemon which wants to take advantage of this logic needs to place the following at the top of its main() function: ```c -… +... [0][0] = '@'; -… +... ``` And that's already it. Note that this functionality is only to be used by @@ -116,10 +116,10 @@ otherwise doesn't. Something like this: #include int main(int argc, char *argv[]) { - … + ... if (access("/etc/initrd-release", F_OK) >= 0) argv[0][0] = '@'; - … + ... } ``` @@ -190,4 +190,4 @@ few additional notes for supporting these setups: program consult this blog story: [Socket Activation](http://0pointer.de/blog/projects/socket-activation.html) -* Consider having a look at the [initrd Interface of systemd](http://www.freedesktop.org/wiki/Software/systemd/InitrdInterface) +* Consider having a look at the [initrd Interface of systemd](https://systemd.io/INITRD_INTERFACE/).