On March 11, 2019 5:12:40 PM PDT, "Rodney W. Grimes" <freebsd-rwg_at_gndrsh.dnsmgr.net> 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. > > >> P.S. >> zfs list already supports sorting by a specific property. > >Perhaps make zfs list -s mountpoint a default? There is a zpool property that sets whether zfs list includes snapshots or not. Could a similar sort property, should we choose to implement it, be useful? Default sort could be set at pool creation time by the user. -- Pardon the typos and autocorrect, small keyboard in use. Cheers, Cy Schubert <Cy.Schubert_at_cschubert.com> FreeBSD UNIX: <cy_at_FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.Received on Mon Mar 11 2019 - 23:34:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC