svn commit: r343118 - in head/usr.sbin: . trim

Eugene Grosbein eugen at grosbein.net
Fri Jan 18 15:11:23 UTC 2019


On 18.01.2019 19:54, Cy Schubert wrote:

> In message <81bb343b-ad8a-371d-d94f-f72c8dbce754 at 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).




More information about the svn-src-head mailing list