From owner-freebsd-stable@freebsd.org Wed May 10 16:18:00 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5126D67C82 for ; Wed, 10 May 2017 16:18:00 +0000 (UTC) (envelope-from 000.fbsd@quip.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 6B798EC7 for ; Wed, 10 May 2017 16:17:59 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 76CFA28479 for ; Wed, 10 May 2017 18:12:13 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (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 CF00728439 for ; Wed, 10 May 2017 18:12:12 +0200 (CEST) To: freebsd-stable@freebsd.org From: Miroslav Lachman <000.fbsd@quip.cz> Subject: Missing units in df -h output Message-ID: <59133BDC.8080509@quip.cz> Date: Wed, 10 May 2017 18:12:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 16:18:00 -0000 Today I noticed missing units (G) in the output of 'df -h' command if size is exactly 1000G This is on FreeBSD 10.3-RELEASE-p18 amd64 GENERIC /# df -h /vol0/remote_backup/rico Filesystem Size Used Avail Capacity Mounted on tank0/vol0/remote_backup/rico 1.4T 1000 443G 69% /vol0/remote_backup/rico The same without -h # df /vol0/remote_backup/rico Filesystem 1K-blocks Used Avail Capacity Mounted on tank0/vol0/remote_backup/rico 1513215636 1048349068 464866568 69% /vol0/remote_backup/rico I don't know if the G suffix is stripped by formatting to columns / size of field is limited to 4 characters if '-h' is used or anything else. The FS is ZFS if this matters. Is this known issue? Should I file PR for this? Miroslav Lachman