From 48851fa749d634d68eaaa0dcd6c4041615b6c0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 9 Feb 2014 13:43:12 +0100 Subject: [PATCH] nixos/memtest: use docbook formatting Without this the HTML manual and manpage is quite unreadable (newlines are squashed so it doesn't look like a list anymore). (Unfortunately, this makes the source unreadable.) --- .../system/boot/loader/grub/memtest.nix | 44 ++++++++++++++++--- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/nixos/modules/system/boot/loader/grub/memtest.nix b/nixos/modules/system/boot/loader/grub/memtest.nix index 3745b4057126..2461d1f80c78 100644 --- a/nixos/modules/system/boot/loader/grub/memtest.nix +++ b/nixos/modules/system/boot/loader/grub/memtest.nix @@ -32,12 +32,44 @@ in Parameters added to the Memtest86+ command line. As of memtest86+ 5.01 the following list of (apparently undocumented) parameters are accepted: - console=... -- set up a serial console. - btrace -- enable boot trace. - maxcpus=... -- limit number of CPUs. - onepass -- run one pass and exit if there are no errors. - tstlist=... -- list of tests to run. - cpumask=... -- set a CPU mask, to select CPUs to use for testing. + + + + + console=..., set up a serial console. + Examples: + console=ttyS0, + console=ttyS0,9600 or + console=ttyS0,115200n8. + + + + btrace, enable boot trace. + + + + maxcpus=N, limit number of CPUs. + + + + onepass, run one pass and exit if there + are no errors. + + + + tstlist=..., list of tests to run. + Example: 0,1,2. + + + + cpumask=..., set a CPU mask, to select CPUs + to use for testing. + + + + + This list of command line options was obtained by reading the + Memtest86+ source code. ''; };