From owner-freebsd-current@freebsd.org Tue Mar 12 00:34:32 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0E5E1533D2D for ; Tue, 12 Mar 2019 00:34:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 367998B7DC for ; Tue, 12 Mar 2019 00:34:30 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 3VNChAL1h21rt3VNDhmcs8; Mon, 11 Mar 2019 18:34:28 -0600 X-Authority-Analysis: v=2.3 cv=CMNUoijD c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=NTGMnVQrEZIA:10 a=iKhvJSA4AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=_IzqwHjfZN85B0oW-ksA:9 a=QEXdDO2ut3YA:10 a=odh9cflL3HIXMm4fY7Wr:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [IPv6:2605:8d80:420:e4c2:393:4fb7:5c1a:6c4a] (unknown [72.143.219.222]) by spqr.komquats.com (Postfix) with ESMTPSA id A7044426; Mon, 11 Mar 2019 17:34:24 -0700 (PDT) Date: Mon, 11 Mar 2019 17:33:51 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <201903120012.x2C0CeeJ012446@gndrsh.dnsmgr.net> References: <201903120012.x2C0CeeJ012446@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: ZFS no longer mounted in alphanumerical order To: freebsd-current@freebsd.org From: Cy Schubert Message-ID: X-CMAE-Envelope: MS4wfGGYf9Z96aEI5jicdY64oYbsgbk+K6IYx9lLaVObF59l14x30sgKxkE5fpouUJ8+XR5l9Ii0Wv4AQCYZHp5GX7CxpNCwZUbVIMgez49ZxsEE3/RIH6F0 0e9IhJOBvpWedAUFjP+ewLIRLEmUBKQnhhUz4YLd5i07TMNy3ZtTTNTgDozwghLc7EvtMb63BuYNWg== X-Rspamd-Queue-Id: 367998B7DC X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[spqr.komquats.com]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[137.136.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.14)[ip: (-5.64), ipnet: 64.59.128.0/20(-2.80), asn: 6327(-2.16), country: CA(-0.09)]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2019 00:34:33 -0000 On March 11, 2019 5:12:40 PM PDT, "Rodney W=2E 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? >>=20 >> | 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=2E > > >> P=2ES=2E >> zfs list already supports sorting by a specific property=2E > >Perhaps make zfs list -s mountpoint a default? There is a zpool property that sets whether zfs list includes snapshots or= not=2E Could a similar sort property, should we choose to implement it, b= e useful? Default sort could be set at pool creation time by the user=2E --=20 Pardon the typos and autocorrect, small keyboard in use=2E Cheers, Cy Schubert FreeBSD UNIX: Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E