Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 17:12:40 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Freddie Cash <fjwcash@gmail.com>, =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>, FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: ZFS no longer mounted in alphanumerical order
Message-ID:  <201903120012.x2C0CeeJ012446@gndrsh.dnsmgr.net>
In-Reply-To: <8af22549-d8d0-9f7c-7fbe-186917fe6e6d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903120012.x2C0CeeJ012446>