Skip to content

Commit

Permalink
config-linux: Drop console(4) reference
Browse files Browse the repository at this point in the history
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 <wking@tremily.us>
  • Loading branch information
wking committed Apr 5, 2018
1 parent b4a682c commit cd9892d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cd9892d

Please sign in to comment.