Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2024 10:44:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276918] "zpool status -t": output is inconsistent
Message-ID:  <bug-276918-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276918

            Bug ID: 276918
           Summary: "zpool status -t": output is inconsistent
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: che@bein.link

I'm using FreeBSD stable/14, and I noticed the following:
When using the Russian UTF-8 locale, here's what "zpool status -t" gives me:

% zpool status -t
  pool: zroot
 state: ONLINE
  scan: scrub repaired 0B in 00:09:42 with 0 errors on Fri Feb  9 14:11:58 =
2024
config:

        NAME          STATE     READ WRITE CKSUM
        zroot         ONLINE       0     0     0
          nda0p4.eli  ONLINE       0     0     0  (100% trimmed, completed =
at
=D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0,  9 =D1=84=D0=B5=D0=B2=D1=80=D0=
=B0=D0=BB=D1=8F 2024 =D0=B3. 14:28:37)

errors: No known data errors


Note it says scrub has been completed at a certain point in time in English,
but then it says trim has been completed at a certain point in time in Russ=
ian.

I suppose, the dates should be printed in English in both cases.

Here's a bit more info:
% uname -rsm
FreeBSD 14.0-STABLE amd64
% locale
LANG=3Dru_RU.UTF-8
LC_CTYPE=3D"ru_RU.UTF-8"
LC_COLLATE=3D"ru_RU.UTF-8"
LC_TIME=3D"ru_RU.UTF-8"
LC_NUMERIC=3D"ru_RU.UTF-8"
LC_MONETARY=3D"ru_RU.UTF-8"
LC_MESSAGES=3D"ru_RU.UTF-8"
LC_ALL=3D

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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