[Bug 264234] "zpool get autotrim" displays propety as default regardless or value

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 13:21:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264234

            Bug ID: 264234
           Summary: "zpool get autotrim" displays propety as default
                    regardless or value
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vsasjason@gmail.com

root@localhost:~ # uname -a
FreeBSD localhost.localdomain 13.1-RELEASE FreeBSD 13.1-RELEASE
releng/13.1-n250148-fc952ac2212 GENERIC amd64
root@localhost:~ # zpool create test da1 && zpool get autotrim test && zpool
destroy test && zpool create -o autotrim=on test da1 && zpool get autotrim test
NAME  PROPERTY  VALUE     SOURCE
test  autotrim  off       default
NAME  PROPERTY  VALUE     SOURCE
test  autotrim  on        default

On the 2nd run, when autotrim enabled, property should be listed al "local"
instead of default.

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