docs: update link and more dots

Apparently unicode ellipsis is too much for github.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-01-13 21:03:15 +01:00
parent 0a5a8f13b4
commit 744c49e1fe
2 changed files with 6 additions and 6 deletions

View file

@ -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 * 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 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 * 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 appropriate and passes it pre-mounted to the main system, to avoid the

View file

@ -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: of this logic needs to place the following at the top of its main() function:
```c ```c
...
[0][0] = '@'; [0][0] = '@';
...
``` ```
And that's already it. Note that this functionality is only to be used by 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 <unistd.h> #include <unistd.h>
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
...
if (access("/etc/initrd-release", F_OK) >= 0) if (access("/etc/initrd-release", F_OK) >= 0)
argv[0][0] = '@'; argv[0][0] = '@';
...
} }
``` ```
@ -190,4 +190,4 @@ few additional notes for supporting these setups:
program consult this blog story: [Socket program consult this blog story: [Socket
Activation](http://0pointer.de/blog/projects/socket-activation.html) 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/).