How to use trim command ?

Warner Losh imp at bsdimp.com
Sun Dec 2 03:50:14 UTC 2018


On Sat, Dec 1, 2018, 3:14 PM Rick Macklem <rmacklem at uoguelph.ca wrote:

> Warner Losh wrote:
> >Rebecca Cran wrote:
> >> On Friday, 30 November 2018 17:36:01 MST Eugene Grosbein wrote:
> >> > 01.12.2018 6:56, Ian Lepore wrote:
> >>
> >> > newfs destroys data too, cat > /dev/da0 does this too,
> >> > add the name "dd" itself does not imply data destruction.
> >>
> >> > Can you invent better name?
> >>
> >> 'discard'?
> >>
> >
> >That's a good name. trim has the unfortunate collision with the perl
> 'trim'
> >function and similar things that I didn't think of when I recommended it.
> >It's also nicely technology agnostic.
>
> What about something with "ssd" in it, like "ssdbulkerase" or
> "ssderaseall"?
>

No. Nothing with ssd in it will get past me. It's not technology specific.

Warner

>


More information about the freebsd-hackers mailing list