Re: ZFS no longer mounted in alphanumerical order

From: Rodney W. Grimes <freebsd-rwg_at_gndrsh.dnsmgr.net>
Date: Tue, 12 Mar 2019 09:33:58 -0700 (PDT)
> 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.

That just deletes the header.  Try to write a one liner that gives you
the exact same prior behavior.  It is not really fair to make a change
to the system that changes behavior and just tell all the users to
adapt to the change, it makes FreeBSD "user unfriendly."  If I have
to adapt to much or too often I see alternatives.

> >> P.S.
> >> zfs list already supports sorting by a specific property.
> > 
> > Perhaps make zfs list -s mountpoint a default?
> 
> Why?

P O L A   People have become use to this being sorted, now it is not.

> Andriy Gapon
-- 
Rod Grimes                                                 rgrimes_at_freebsd.org
Received on Tue Mar 12 2019 - 15:35:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC