mtree(1) recent POLA violation

Gleb Smirnoff <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <[email protected]>
  Hi,

the recent mtree(1) import from NetBSD brought one change, that is a POLA
violation and I would also question if the new behavior is desired.

Before the import 'mtree -c -R all' would leave 'type=' keywords, despite '-R
all' asks for removing all keywords.  The 'type=' is special, since this
keyword is required to reconstruct a new spec.

In other words before the import this was working:

mtree -c -R all | mtree -C

Now this is broken.  The above was standard idiom to compare installed to tree
to a specification.  Now the correct syntax to get the same behavior is this:

mtree -c -k type | mtree -C

I'll let other to decide do we want to fix this POLA violation or not. At least
this needs to be recorded in Release notes.

-- 
Gleb Smirnoff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.