On March 11, 2019 5:12:40 PM PDT, "Rodney W. Grimes" 
<freebsd-...@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.schub...@cschubert.com>
FreeBSD UNIX: <c...@freebsd.org> Web: http://www.FreeBSD.org

        The need of the many outweighs the greed of the few.
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to