Date: Tue, 6 Jan 2026 14:37:41 -0800 From: Gleb Smirnoff <glebius@freebsd.org> To: current@freebsd.org Cc: Jose Luis Duran <jlduran@freebsd.org> Subject: mtree(1) recent POLA violation Message-ID: <aV2OtWy0JknNGC1b@cell.glebi.us>
index | next in thread | raw e-mail
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 Smirnoffhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aV2OtWy0JknNGC1b>
