Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 15:08:35 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298271 - head/sbin/tunefs
Message-ID:  <201604191508.u3JF8ZFQ039041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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