Date: Fri, 20 Oct 2023 11:25:21 -0400 From: mike tancsa <mike@sentex.net> To: Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: zfs list output RELENG_13 vs RELENG_14 Message-ID: <b55e7623-90fe-40b6-9ff5-6fe8c59962e8@sentex.net> In-Reply-To: <1d2f504c-7724-48ef-a02e-a35e8c9ef17b@quip.cz> References: <5526f281-fa32-4bd6-a9d5-c14a3d28c93f@sentex.net> <1d2f504c-7724-48ef-a02e-a35e8c9ef17b@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/20/2023 11:12 AM, Miroslav Lachman wrote: > On 20/10/2023 14:08, mike tancsa wrote: >> Hi all, >> >>     Just wondering if this change in output was on purpose or >> accidental. It breaks telegraf parsing for one thing, perhaps other >> scripts as well. In RELENG_13 we have > > It is wrong or the man page is outdated. zfs-list(8) still shows > > -H Used for scripting mode. Do not print headers and separate fields >    by a single tab instead of arbitrary white space. > > -p Display numbers in parsable (exact) values. > This feels like a bug.  Actually, I think there might be 2 bugs here. Its not actually showing the snapshot usage. I will start a separate thread for that. >> zfs list -Hp -o name,avail,used,usedsnap,usedds >> >>   zfs list -Hp -o name,avail,used,usedsnap,usedds >> cageroot       723864289280   216733548544   0      98304 >> cageroot/ROOT  723864289280   17766383616    0      98304 >> cageroot/ROOT/default  723864289280   17766285312    0 17766285312 >> cageroot/tmp   723864289280   21332996096    0 21332996096 >> cageroot/usr   723864289280   124012130304   0      98304 >> >> ... >> >> vs >> >> releng_14 >> >> # zfs list -Hp -o name,avail,used,usedsnap,usedds >> zroot  10016657408    15467933696    -      - >> zroot/ROOT     10016657408    4927225856     -      - >> zroot/ROOT/default     10016657408    4926791680     - - >> zroot/home     10016657408    778240 -      - >> zroot/tmp      10016657408    589824 -      - >> zroot/usr      10016657408    10526662656    -      - >> zroot/usr/obj  10016657408    430080 -      - >> zroot/usr/ports 10016657408    10525368320    -      - >> >> with the dashes for zero values. > > Kind regards > Miroslav Lachman > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b55e7623-90fe-40b6-9ff5-6fe8c59962e8>