From owner-svn-src-all@freebsd.org Fri Jan 18 12:54:47 2019 Return-Path: Delivered-To: svn-src-all@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 175BC149C952; Fri, 18 Jan 2019 12:54:47 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (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 EF17A8E5B8; Fri, 18 Jan 2019 12:54:44 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id kTfUgSwn182YckTfVgBLjj; Fri, 18 Jan 2019 05:54:42 -0700 X-Authority-Analysis: v=2.3 cv=NNSrBHyg c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=3JhidrIBZZsA:10 a=H0GPC0OhAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=sYRoXnj-x_WCtMZ0wH8A:9 a=CjuIK1q_8ugA:10 a=KczGKrPSgCPlefTG41c3:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id AEC79501; Fri, 18 Jan 2019 04:54:57 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x0ICscDO076363; Fri, 18 Jan 2019 04:54:38 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x0ICsbBb076360; Fri, 18 Jan 2019 04:54:38 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201901181254.x0ICsbBb076360@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Eugene Grosbein cc: Maxim Sobolev , Cy Schubert , "Conrad E. Meyer" , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r343118 - in head/usr.sbin: . trim In-Reply-To: Message from Eugene Grosbein of "Fri, 18 Jan 2019 16:17:04 +0700." <81bb343b-ad8a-371d-d94f-f72c8dbce754@grosbein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Jan 2019 04:54:37 -0800 X-CMAE-Envelope: MS4wfAzaY0CbMzeRET55Lrz1ShmVY1f1Xw/nJBtpGjOcchdFXAJzH2C6t8dOOcf8T4rsz8LWxNAcMYAx6W8rfHJ1wGk0zcYocV6BWkuH9V3Hc5HIZVfnnWKo JHOO2ZbunFMIFQah9Dy9F6SAL2zxhtpdpZKPfwtfaZZcH0+I803LQkBvwngI5yuL1pv8/apk6axKr/JblzJriaVSm693lSX0ntUdGZ+8pJF1IalcIoqPWnBc xWbtmRdXeIiSuQ3UYFJBZuzqtwCzMjtz2Jk4reBjKk/ldA3RKCKFP/yOhmHAjY/3h3BpbFt1YqKQqTWENbcTQAA6r0yFGd3PkMrt+tY+jWfLqpMgvxWm9CQf AnneQeOs X-Rspamd-Queue-Id: EF17A8E5B8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[spqr.komquats.com]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[139.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]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-1.61)[ip: (-3.81), ipnet: 64.59.128.0/20(-2.36), asn: 6327(-1.82), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2019 12:54:47 -0000 In message <81bb343b-ad8a-371d-d94f-f72c8dbce754@grosbein.net>, Eugene Grosbein writes: > 18.01.2019 5:25, Maxim Sobolev wrote: > > > Using usr.sbin/trim as an example. > > We still lack a command usable at installation stage (escape to shell) to tri > m a device or partition > dedicated to ZFS Cache/ZFS Intention Log/zvol any other use when ports/packag > es are not yet available. OK, I will put a review together for dd. Do you realize that what you just said? Your statement is inconsistent with where trim is installed? Then it should have been installed in /sbin not where you put it. I don't want to start yet another bikeshed arguing the merits of this or that -- I'm intentionally being vague here because I really don't want to stat a different bikeshed thread. But suffice it to say, dd is the place for it because it lives in /bin and dd is already included in /rescue. Everything about trim is wrong, even where it is put. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.