git: 5d8fde850768 - main - trim.8: update the manual with references to zpool-trim and fsck_ffs -E
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Oct 2025 04:07:14 UTC
The branch main has been updated by eugen:
URL: https://cgit.FreeBSD.org/src/commit/?id=5d8fde850768d31f722de6177204ec7cab199bd1
commit 5d8fde850768d31f722de6177204ec7cab199bd1
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2025-10-01 04:05:54 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2025-10-01 04:05:54 +0000
trim.8: update the manual with references to zpool-trim and fsck_ffs -E
MFC after: 3 days
---
usr.sbin/trim/trim.8 | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/usr.sbin/trim/trim.8 b/usr.sbin/trim/trim.8
index a4874c54c183..eef369703715 100644
--- a/usr.sbin/trim/trim.8
+++ b/usr.sbin/trim/trim.8
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 20, 2025
+.Dd October 1, 2025
.Dt TRIM 8
.Os
.Sh NAME
@@ -48,9 +48,16 @@
The
.Nm
utility erases specified region of the device.
-It is mostly relevant for storage that implement trim (like flash based,
+It is mostly relevant for a storage that implements trim (like flash based,
or thinly provisioned storage).
.Sy All erased data is lost.
+Alternatively, refer to the
+.Xr fsck_ffs 8
+command having a flag
+.Fl E
+to trim populated UFS, and to the
+.Xr zpool-trim 8
+command to trim existing ZFS pool.
.Pp
The following options are available:
.Bl -tag -width indent
@@ -156,7 +163,9 @@ is special device file not supporting DIOCGMEDIASIZE
.Xr sysexits 3 ,
.Xr ada 4 ,
.Xr da 4 ,
-.Xr nda 4
+.Xr nda 4 ,
+.Xr fsck_ffs 8 ,
+.Xr zpool-trim 8
.Sh HISTORY
The
.Nm