From nobody Fri Oct 20 15:12:16 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SBp3R6B3dz4xt2n for ; Fri, 20 Oct 2023 15:12:19 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SBp3R41wgz4rjG for ; Fri, 20 Oct 2023 15:12:19 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D6DB0D7890; Fri, 20 Oct 2023 17:12:17 +0200 (CEST) Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1F7D0D7887; Fri, 20 Oct 2023 17:12:16 +0200 (CEST) Message-ID: <1d2f504c-7724-48ef-a02e-a35e8c9ef17b@quip.cz> Date: Fri, 20 Oct 2023 15:12:16 +0000 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: zfs list output RELENG_13 vs RELENG_14 Content-Language: cs-Cestina To: mike tancsa , FreeBSD-STABLE Mailing List References: <5526f281-fa32-4bd6-a9d5-c14a3d28c93f@sentex.net> From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <5526f281-fa32-4bd6-a9d5-c14a3d28c93f@sentex.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4SBp3R41wgz4rjG 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. > 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