Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2025 21:22:43 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9ad1589c7334 - main - devd.conf.5: Use a tag list block for NVMe SMART errors
Message-ID:  <202507082122.568LMhPM046546@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ad1589c733434e695f1a0954d428725a5339893

commit 9ad1589c733434e695f1a0954d428725a5339893
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-07-08 21:22:30 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-07-08 21:22:30 +0000

    devd.conf.5: Use a tag list block for NVMe SMART errors
    
    groff doesn't seem to handle nested column list blocks correctly for
    postscript and HTML output causing the subsequent nvme event to be
    indented incorrectly.  Using a tag list block works around this.
    
    Sponsored by:   Chelsio Communications
---
 sbin/devd/devd.conf.5 | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/sbin/devd/devd.conf.5 b/sbin/devd/devd.conf.5
index f038efc5fdd6..4dbd7338edb1 100644
--- a/sbin/devd/devd.conf.5
+++ b/sbin/devd/devd.conf.5
@@ -491,14 +491,21 @@ $state has a hex bitmask of the bits that changed, as defined
 in the NVMe Standard for Critical Warning field of log page 2
 .Dq SMART / Health Information Log :
 .Pp
-.Bl -column "Bit Value" "Meaning" -compact
-.Sy "Bit Value" Ta Sy "Meaning"
-.It 0x1 Ta Spare capacity below threshold
-.It 0x2 Ta Temperature outside acceptable range
-.It 0x4 Ta Reliability of media degraded
-.It 0x8 Ta Media placed into read-only mode
-.It 0x10 Ta Volatime memory backup failure
-.It 0x20 Ta Persistent memory read-only or degraded
+.Bl -tag -width "Bit Value" -compact
+.It Sy "Bit Value"
+.Sy Meaning
+.It 0x1
+Spare capacity below threshold
+.It 0x2
+Temperature outside acceptable range
+.It 0x4
+Reliability of media degraded
+.It 0x8
+Media placed into read-only mode
+.It 0x10
+Volatime memory backup failure
+.It 0x20
+Persistent memory read-only or degraded
 .El
 .It Li nvme Ta Li controller Ta Li RESET Ta
 A controller reset event has happened.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507082122.568LMhPM046546>