> There is some low level support in NetBSD for trim in the device drivers
> (wd for example), but there is no ioctl interface, filesystem support and
> of course no userland trim utility. I would check out how FreeBSD does it

BLKDISCARD(8)               System Manager's Manual              BLKDISCARD(8)

NAME
     blkdiscard - tool to discard portions of a device or file

...
HISTORY
     The blkdiscard command first appeared linux-util.  This implementation
     was originally called fdiscard-stuff and has been converted to be
     blkdiscard(8) compatible and appeared in NetBSD 10.0.

Reply via email to