From owner-svn-src-head@freebsd.org Fri Nov 30 11:55:16 2018 Return-Path: Delivered-To: svn-src-head@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 E572E114151E; Fri, 30 Nov 2018 11:55:15 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C9FE7E90F; Fri, 30 Nov 2018 11:55:15 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 3DD6C1D3DE; Fri, 30 Nov 2018 11:55:15 +0000 (UTC) Date: Fri, 30 Nov 2018 11:55:15 +0000 From: Alexey Dokuchaev To: Eugene Grosbein Cc: Baptiste Daroussin , Maxim Sobolev , src-committers , "svn-src-all@freebsd.org" , Steven Hartland , "svn-src-head@freebsd.org" , Cy Schubert Subject: Re: svn: head/usr.bin: . trim Message-ID: <20181130115515.GA28531@FreeBSD.org> References: <20181130011713.42B641D27@spqr.komquats.com> <0e233c0c-6c80-4618-9618-48162362a849@multiplay.co.uk> <20181130084955.o4loxtuswdsvzksy@ivaldir.net> <20181130105714.GA84052@FreeBSD.org> <15e4f063-d081-9c38-be3e-44bc622cc50e@freebsd.org> <20181130113422.GA14353@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 8C9FE7E90F X-Spamd-Result: default: False [1.11 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.13)[-0.126,0]; NEURAL_SPAM_LONG(0.68)[0.680,0]; NEURAL_SPAM_MEDIUM(0.56)[0.559,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 11:55:16 -0000 On Fri, Nov 30, 2018 at 06:44:48PM +0700, Eugene Grosbein wrote: > 30.11.2018 18:34, Alexey Dokuchaev wrote: > > > Another point: the manpage says, "It is only relevant for flash based > > storage devices that use wear-leveling algorithms", which is an argument > > against generic "trim". I would mind less of it would be called ftrim(8) > > or ssd_trim(8) or flash_trim(8), but still prefer Maxim's approach. > > Speaking of naming issues: > > NAME > dd - convert and copy a file IMHO this description should be fixed (but that's the whole another bug). > I still prefer unix-way: "each utility does one simple task". > And that's not about dd :-( Yes, I understand you. Like I've said, a little more flash-media-related name would perhaps be more appropriate for such an utility. ./danfe