Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 09:33:29 -0700
From:      Jordan Hubbard <jkh@mail.turbofuzz.com>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: zfs: the exponential file system from hell
Message-ID:  <BFAE1DDE-B8F8-40E5-9D9B-CF954D5D6457@mail.turbofuzz.com>
In-Reply-To: <20130930234401.GA68360@neutralgood.org>
References:  <52457A32.2090105@fsn.hu> <77F6465C-4E76-4EE9-88B5-238FFB4E0161@sarenet.es> <20130930234401.GA68360@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFAE1DDE-B8F8-40E5-9D9B-CF954D5D6457>