Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2025 04:18:42 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 40497eda791e - stable/13 - trim.8: update the manual with references to zpool-trim and fsck_ffs -E
Message-ID:  <202510040418.5944Igcc049811@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by eugen:

URL: https://cgit.FreeBSD.org/src/commit/?id=40497eda791e513ebfc8a7969f9c3e7246ff47b8

commit 40497eda791e513ebfc8a7969f9c3e7246ff47b8
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2025-10-01 04:05:54 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2025-10-04 04:18:17 +0000

    trim.8: update the manual with references to zpool-trim and fsck_ffs -E
    
    (cherry picked from commit 5d8fde850768d31f722de6177204ec7cab199bd1)
---
 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 1ac10d7e3d46..ebb8b927cd91 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 January 18, 2019
+.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
@@ -154,7 +161,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510040418.5944Igcc049811>