git: 726e20f45041 - releng/13.0 - fmtree: add a deprecation notice to the manpage

Kyle Evans kevans at FreeBSD.org
Wed Feb 17 16:53:42 UTC 2021


The branch releng/13.0 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=726e20f450411981313d6a2f145107041d2ff6d2

commit 726e20f450411981313d6a2f145107041d2ff6d2
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-17 16:53:25 +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.
    
    Approved by:    re (gjb)
    Relnotes:       yes
    
    (cherry picked from commit 6fea22cebe5cb1e51e98c894a738bea910b7bc2f)
    (cherry picked from commit be4b3e7a5bf9e7b497fcfcc242eebb84d29a6e42)
---
 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-all mailing list