From owner-freebsd-fs@FreeBSD.ORG Tue Oct 1 16:34:08 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DDBB6994 for ; Tue, 1 Oct 2013 16:34:08 +0000 (UTC) (envelope-from jkh@mail.turbofuzz.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C30E0281F for ; Tue, 1 Oct 2013 16:34:08 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 12B85666F4 for ; Tue, 1 Oct 2013 09:34:08 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 43796-04-5 for ; Tue, 1 Oct 2013 09:34:07 -0700 (PDT) Received: from [10.20.30.11] (63.sub-70-197-2.myvzw.com [70.197.2.63]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 7213B666CF for ; Tue, 1 Oct 2013 09:34:02 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1811\)) Subject: Re: zfs: the exponential file system from hell From: Jordan Hubbard In-Reply-To: <20130930234401.GA68360@neutralgood.org> Date: Tue, 1 Oct 2013 09:33:29 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <52457A32.2090105@fsn.hu> <77F6465C-4E76-4EE9-88B5-238FFB4E0161@sarenet.es> <20130930234401.GA68360@neutralgood.org> To: freebsd-fs@FreeBSD.org X-Mailer: Apple Mail (2.1811) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 16:34:08 -0000 On Sep 30, 2013, at 4:44 PM, kpneal@pobox.com wrote: > Bottom line: > The replacement for the 'df' command when using ZFS is 'zfs list'. Given that we have the sources to df, I guess we should consider the = question begged: Do we want to change it to DTRT for zfs filesystems? = There's no Unix Law=99 that says "df(1) must use the output of statfs(2) = directly and can use no longer sources of information!" At the end of the day, df(1) is just a convenient status reporting tool = aimed at human consumption. It could easily reach out to "zfs list" for = the data it prints for zfs volumes if what's reported by statfs(2) just = isn't suitable. - Jordan