ZFS no longer mounted in alphanumerical order
Andriy Gapon
avg at FreeBSD.org
Tue Mar 12 06:54:30 UTC 2019
On 12/03/2019 02:12, Rodney W. Grimes wrote:
>> On 11/03/2019 23:03, Freddie Cash wrote:
>>> Wouldn't it make more sense to teach df, du, "zfs list", and other things
>>> that list the mounted filesystems to use sorted output?
>>
>> | sort [desired options]
>
> Except that df and zfs list have a header that you have to deal with,
> which is not so easy to get sort to do the right things with out
> some hoop jumping.
Like "| tail +2" ?
Or if it's just for visual inspection (as seems to be the case for the original
poster) just mentally filter out that line.
>> P.S.
>> zfs list already supports sorting by a specific property.
>
> Perhaps make zfs list -s mountpoint a default?
Why?
--
Andriy Gapon
More information about the freebsd-current
mailing list