From owner-svn-src-all@freebsd.org Fri Jan 18 15:11:23 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 BEAF414A15E6; Fri, 18 Jan 2019 15:11:23 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4747293B13; Fri, 18 Jan 2019 15:11:23 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id x0IFB7UE089201 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jan 2019 16:11:07 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Cy.Schubert@cschubert.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id x0IFB6x5067968; Fri, 18 Jan 2019 22:11:06 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: svn commit: r343118 - in head/usr.sbin: . trim To: Cy Schubert References: <201901181254.x0ICsbBb076360@slippy.cwsent.com> Cc: Maxim Sobolev , "Conrad E. Meyer" , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Eugene Grosbein Message-ID: <5C41EC89.9000900@grosbein.net> Date: Fri, 18 Jan 2019 22:11:05 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <201901181254.x0ICsbBb076360@slippy.cwsent.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4747293B13 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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 15:11:23 -0000 On 18.01.2019 19:54, Cy Schubert wrote: > 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. Modern FreeBSD installation media have usr/bin and usr/sbin ready for shell session as they contain live system. I'm not against dd conv=trim but it has different usage pattern and it is not easy replacement for trim(8).