From cd9892deccd0860d4aba6a635d46ac1eec62dd52 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 5 Apr 2018 15:57:44 -0700 Subject: [PATCH] config-linux: Drop console(4) reference The man page we linked was removed without replacement in man-pages-4.06 [1,2]. We can just drop our link here, because the remainder of the sentence provides enough information to calculate the device's type and major/minor [3]. While I'm touching this line, I've added some missing backticks around path and property literals, and I've made the 'terminal' reference a link. [1]: https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=0f9e6478e403b26c24ecaa6761bc53d05cf04265 [2]: https://bugzilla.kernel.org/show_bug.cgi?id=110481 [3]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/devices.txt?h=v4.16#n2080 Signed-off-by: W. Trevor King --- config-linux.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config-linux.md b/config-linux.md index f2150ccaf..e3d4100ab 100644 --- a/config-linux.md +++ b/config-linux.md @@ -162,7 +162,7 @@ In addition to any devices configured with this setting, the runtime MUST also s * [`/dev/random`][random.4] * [`/dev/urandom`][random.4] * [`/dev/tty`][tty.4] -* [`/dev/console`][console.4] is set up if terminal is enabled in the config by bind mounting the pseudoterminal slave to /dev/console. +* `/dev/console` is set up if [`terminal`](config.md#process) is enabled in the config by bind mounting the pseudoterminal slave to `/dev/console`. * [`/dev/ptmx`][pts.4]. A [bind-mount or symlink of the container's `/dev/pts/ptmx`][devpts]. @@ -689,7 +689,6 @@ The following parameters can be specified to set up seccomp: [sysfs]: https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt [tmpfs]: https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt -[console.4]: http://man7.org/linux/man-pages/man4/console.4.html [full.4]: http://man7.org/linux/man-pages/man4/full.4.html [mknod.1]: http://man7.org/linux/man-pages/man1/mknod.1.html [mknod.2]: http://man7.org/linux/man-pages/man2/mknod.2.html