mtree(1) recent POLA violation
- Reply: Jose Luis Duran : "Re: mtree(1) recent POLA violation"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jan 2026 22:37:41 UTC
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