From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:43250 "EHLO resqmta-po-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbaLPDwR (ORCPT ); Mon, 15 Dec 2014 22:52:17 -0500 Message-ID: <548FAC6F.1010704@pobox.com> Date: Mon, 15 Dec 2014 19:52:15 -0800 From: Robert White MIME-Version: 1.0 To: Dongsheng Yang , Grzegorz Kowal , linux-btrfs Subject: Re: Standards Problems [Was: [PATCH v2 1/3] Btrfs: get more accurate output in df command.] References: <36be817396956bffe981a69ea0b8796c44153fa5.1418203063.git.yangds.fnst@cn.fujitsu.com> <548B4117.1040007@inwind.it> <548E377D.6030804@cn.fujitsu.com> <548E7A7A.90505@pobox.com> <548E929B.2090203@pobox.com> <548E9B38.9080202@cn.fujitsu.com> <548EABBB.4060204@pobox.com> <548FA762.2070504@pobox.com> In-Reply-To: <548FA762.2070504@pobox.com> Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 12/15/2014 07:30 PM, Robert White wrote: > The above would be ideal. But POSIX says "no". f_blocks is defined (only Correction the linux kernel says "total data blocks", POSIX says "total blocks" -- it was a mental typo... 8-) > in the comments) as "total data blocks in the filesystem" and /bin/df > pivots on that assumption, so the only usable option left is ::