diff options
| author | Eugene Grosbein <eugen@FreeBSD.org> | 2025-10-01 04:05:54 +0000 |
|---|---|---|
| committer | Eugene Grosbein <eugen@FreeBSD.org> | 2025-10-01 04:05:54 +0000 |
| commit | 5d8fde850768d31f722de6177204ec7cab199bd1 (patch) | |
| tree | e34632eb839a92927d9faae77b044d2deff4e234 | |
| parent | f7aad20db59210a4411559d07976a48809b3b0a7 (diff) | |
trim.8: update the manual with references to zpool-trim and fsck_ffs -E
MFC after: 3 days
| -rw-r--r-- | usr.sbin/trim/trim.8 | 15 |
1 files 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 |
