Skip to content

Commit cd9892d

Browse files
committed
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 <[email protected]>
1 parent b4a682c commit cd9892d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config-linux.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ In addition to any devices configured with this setting, the runtime MUST also s
162162
* [`/dev/random`][random.4]
163163
* [`/dev/urandom`][random.4]
164164
* [`/dev/tty`][tty.4]
165-
* [`/dev/console`][console.4] is set up if terminal is enabled in the config by bind mounting the pseudoterminal slave to /dev/console.
165+
* `/dev/console` is set up if [`terminal`](config.md#process) is enabled in the config by bind mounting the pseudoterminal slave to `/dev/console`.
166166
* [`/dev/ptmx`][pts.4].
167167
A [bind-mount or symlink of the container's `/dev/pts/ptmx`][devpts].
168168

@@ -689,7 +689,6 @@ The following parameters can be specified to set up seccomp:
689689
[sysfs]: https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt
690690
[tmpfs]: https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
691691

692-
[console.4]: http://man7.org/linux/man-pages/man4/console.4.html
693692
[full.4]: http://man7.org/linux/man-pages/man4/full.4.html
694693
[mknod.1]: http://man7.org/linux/man-pages/man1/mknod.1.html
695694
[mknod.2]: http://man7.org/linux/man-pages/man2/mknod.2.html

0 commit comments

Comments
 (0)