summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-04-19 15:08:35 +0000
committertrasz <trasz@FreeBSD.org>2016-04-19 15:08:35 +0000
commit41d99db047ce9bdf5f871128e665fdbfb8ca0e9a (patch)
treee3f57cd843a68680fba44aa9c5fa2720308498b5
parentcf2857955cc43bf478bbb4716641d15ea01fa1a7 (diff)
downloadFreeBSD-src-41d99db047ce9bdf5f871128e665fdbfb8ca0e9a.zip
FreeBSD-src-41d99db047ce9bdf5f871128e665fdbfb8ca0e9a.tar.gz
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
-rw-r--r--sbin/tunefs/tunefs.810
1 files 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
OpenPOWER on IntegriCloud