Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2017 01:22:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219467] `mtree -R type -k flags` prints out type= keyword attributes, contrary to what the manpage says it should do
Message-ID:  <bug-219467-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219467

            Bug ID: 219467
           Summary: `mtree -R type -k flags` prints out type=3D keyword
                    attributes, contrary to what the manpage says it
                    should do
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

Per mtree(8), passing `-R type -k flags` should clear omit type keywords fr=
om
the spec created via mtree:

     -k keywords        Use the type keyword plus the specified (whitespace=
 or
                        comma separated) keywords instead of the current set
                        of keywords.  If `all' is specified, use all of the
                        other keywords.  If the type keyword is not desired,
                        suppress it with -R type.

Trying this though, demonstrates that that is not the case:

$ sudo mtree -cn -R type -k flags -p /usr/bin/ -x | grep type=3D
/set type=3Dfile flags=3Duarch
.               type=3Ddir
    chfn        type=3Dlink
    chsh        type=3Dlink
    cpio        type=3Dlink
    mailq       type=3Dlink
    newaliases  type=3Dlink
    perl        type=3Dlink
    perl5       type=3Dlink
    pgrep       type=3Dlink
    pkill       type=3Dlink
    stelnet     type=3Dlink
    tar         type=3Dlink
    ypchfn      type=3Dlink
    ypchpass    type=3Dlink
    ypchsh      type=3Dlink
    yppasswd    type=3Dlink

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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