From owner-svn-src-all@freebsd.org Tue Apr 19 15:08:36 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61640B132C2; Tue, 19 Apr 2016 15:08:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30DE41722; Tue, 19 Apr 2016 15:08:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3JF8Zj1039042; Tue, 19 Apr 2016 15:08:35 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3JF8ZFQ039041; Tue, 19 Apr 2016 15:08:35 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201604191508.u3JF8ZFQ039041@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Tue, 19 Apr 2016 15:08:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298271 - head/sbin/tunefs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 15:08:36 -0000 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