From 41d99db047ce9bdf5f871128e665fdbfb8ca0e9a Mon Sep 17 00:00:00 2001 From: trasz Date: Tue, 19 Apr 2016 15:08:35 +0000 Subject: Mention fsck_ffs -E in tunefs(8). It's non-obvious that one should use it after enabling TRIM. Reviewed by: brueffer@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5928 --- sbin/tunefs/tunefs.8 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8 index a58c174..2abe076 100644 --- a/sbin/tunefs/tunefs.8 +++ b/sbin/tunefs/tunefs.8 @@ -28,7 +28,7 @@ .\" @(#)tunefs.8 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd June 22, 2011 +.Dd April 19, 2016 .Dt TUNEFS 8 .Os .Sh NAME @@ -166,9 +166,15 @@ device for each freed block. The trim enable flag is typically set when the underlying device uses flash-memory as the device can use the delete command to pre-zero or at least avoid copying blocks that have been deleted. +.Pp +Note that this does not trim blocks that are already free. +See the +.Xr fsck_ffs 8 +.Fl E +flag. .El .Pp -At least one of the above flags is required. +At least one of these flags is required. .Sh FILES .Bl -tag -width ".Pa /etc/fstab" .It Pa /etc/fstab -- cgit v1.1