Date: Mon, 11 Mar 2019 17:33:51 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: freebsd-current@freebsd.org Subject: Re: ZFS no longer mounted in alphanumerical order Message-ID: <C7254D1A-47B4-450A-8524-48104DC3B1A6@cschubert.com> In-Reply-To: <201903120012.x2C0CeeJ012446@gndrsh.dnsmgr.net> References: <201903120012.x2C0CeeJ012446@gndrsh.dnsmgr.net>
index | next in thread | previous in thread | raw e-mail
On March 11, 2019 5:12:40 PM PDT, "Rodney W. Grimes" <freebsd-rwg@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@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C7254D1A-47B4-450A-8524-48104DC3B1A6>
