git: 6fea22cebe5c - main - fmtree: add a deprecation notice to the manpage

Kyle Evans kevans at FreeBSD.org
Sat Feb 13 05:16:58 UTC 2021


The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=6fea22cebe5cb1e51e98c894a738bea910b7bc2f

commit 6fea22cebe5cb1e51e98c894a738bea910b7bc2f
Author:     Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2021-02-10 15:10:52 +0000
Commit:     Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2021-02-13 05:15:58 +0000

    fmtree: add a deprecation notice to the manpage
    
    Note that this mtree(8) is actually installed as fmtree(8), while
    mtree(8) is located in ^/contrib/mtree -- thus, the reference to
    mtree(8) makes a lot more sense in the context in which folks would
    actually notice it. Shout-out to Ravi for pointing out that this may
    not be an obvious fact.
    
    MFC after:      3 days
    Reviewed by:    bdrewery, brooks, cy, emaste
    Relnotes:       yes
    Differential Revision:  https://reviews.freebsd.org/D28573
---
 usr.sbin/fmtree/mtree.8 | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/fmtree/mtree.8 b/usr.sbin/fmtree/mtree.8
index c2901e6776da..f5b4de4e7438 100644
--- a/usr.sbin/fmtree/mtree.8
+++ b/usr.sbin/fmtree/mtree.8
@@ -28,7 +28,7 @@
 .\"     From: @(#)mtree.8	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd June 16, 2007
+.Dd February 13, 2021
 .Dt MTREE 8
 .Os
 .Sh NAME
@@ -362,6 +362,12 @@ style BSD.*.dist file, use
 .Fl n
 .Fl k
 .Cm uname,gname,mode,nochange.
+.Sh DEPRECATION NOTICE
+.Nm fmtree
+is deprecated, and will be gone in
+.Fx 14.0 .
+.Xr mtree 8
+should be used instead.
 .Sh SEE ALSO
 .Xr chflags 1 ,
 .Xr chgrp 1 ,
@@ -371,7 +377,8 @@ style BSD.*.dist file, use
 .Xr stat 2 ,
 .Xr fts 3 ,
 .Xr md5 3 ,
-.Xr chown 8
+.Xr chown 8 ,
+.Xr mtree 8
 .Sh HISTORY
 The
 .Nm


More information about the dev-commits-src-main mailing list