svn commit: r298271 - head/sbin/tunefs
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Apr 19 15:08:36 UTC 2016
Author: trasz
Date: Tue Apr 19 15:08:35 2016
New Revision: 298271
URL: https://svnweb.freebsd.org/changeset/base/298271
Log:
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
Modified:
head/sbin/tunefs/tunefs.8
Modified: head/sbin/tunefs/tunefs.8
==============================================================================
--- head/sbin/tunefs/tunefs.8 Tue Apr 19 15:07:04 2016 (r298270)
+++ head/sbin/tunefs/tunefs.8 Tue Apr 19 15:08:35 2016 (r298271)
@@ -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
More information about the svn-src-head
mailing list