From owner-svn-src-head@freebsd.org Fri Nov 30 12:56:46 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 0546511439B1; Fri, 30 Nov 2018 12:56:46 +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 9C98D80F61; Fri, 30 Nov 2018 12:56:45 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 8C8151DE38; Fri, 30 Nov 2018 12:56:45 +0000 (UTC) Date: Fri, 30 Nov 2018 12:56:45 +0000 From: Alexey Dokuchaev To: Eugene Grosbein Cc: 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: <20181130125645.GA97463@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> <20181130115515.GA28531@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: 9C98D80F61 X-Spamd-Result: default: False [1.39 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_SPAM_SHORT(0.11)[0.113,0]; NEURAL_SPAM_MEDIUM(0.59)[0.585,0]; NEURAL_SPAM_LONG(0.69)[0.695,0] 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 12:56:46 -0000 On Fri, Nov 30, 2018 at 07:27:46PM +0700, Eugene Grosbein wrote: > 30.11.2018 18:55, 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. > > [skip] > > > Yes, I understand you. Like I've said, a little more flash-media-related > > name would perhaps be more appropriate for such an utility. > > This excludes virtio_blk and ZFS. Perhaps, manpage should be corrected > as quoted phrase has been taken from news -E description as is. How about mtrim(8) or media_trim(8)? I vaguely when back in times misc/mc was installed as bin/midc because some commercial Unix implementation had "mc" as a "media copy" command or something like that. ./danfe