From nobody Tue Jan 6 22:37:41 2026 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dm5f02YDSz6MpRK for ; Tue, 06 Jan 2026 22:37:44 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dm5f0229Wz3hB7; Tue, 06 Jan 2026 22:37:44 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767739064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=igEvw53GEZQVgxXgKaU5YTeB94iL99SZRYYvf0/fE10=; b=Z1J53zwZM7jUloxW91ldK2ZpgbG8LvuO7/HN3mfn5HPZnKqlLPnatKDwGIrhdfd5qRpzcG TGxJS7mYcbrgyU8g9G83p6HMrCQkOSgdeM+MGgkSlctog0lwNYyo+9twsBTqVCBl/tsyhg 5ySKZq3BodVljmBOLKqWN4Kn7YoXHnbg4kQ8sMBfwrCYAsrACrhXuPgoPW8JW61tmJhHDs 9RawSmP0e0o3V650Ccim9WeRTt+KDuYJ+0EfedIGgCO1rnBsp7zBs/cjiMnySvhxxVJhSl bueepsIZloOsx/S+jyZlCZJUqD7xVa8CRgwSS2GcGlBNx+BlIxEeZR1eNWUT/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767739064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=igEvw53GEZQVgxXgKaU5YTeB94iL99SZRYYvf0/fE10=; b=HXFOOrzYceAwu4PhCUN7Hxggf6sLIHP9Y4XkgW1RLjvJLx8GC0Rc7IlFCk4GMCFubR6LAe PrY0M9arvt5leoUroFtzDWJDgNgeK94TfOv/oxIIm6FaHajf/CEQHC8U5n1NVSw53eE8eS 7siS0cAbUlwIzR4NyXU3Wkf1rMdqqHZg8R8IEmL1/8k+1nNzcpVN/5MzcXnisSIMsmSNtO hyXUQk24IVQzZ1XdUWg5VFkSKqpUdpO6Ne47pmz2HxU448+QsU+ZvZ1dQYwI2cLOoha0a0 7GiN6Ng8vJpufqPkZhpUikiqxkllqftj86o7vH59Kz1RqWIIZwSttkblZAwWsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767739064; a=rsa-sha256; cv=none; b=YtDadCt5ckWm0BMM2NB4FmerxXBAwNqTAgzjCKNTxxmr9vCRHh8zq9pml43TzVuI9OtAQG BMhAP+THyFRxrkcC+0j4r+NS4/NGlCKUL4ELR6R/RFfL8iHhOMwCrKGSOfwWYzwD+2f77y vg3na6TIAB9CGecuMBeDyBxRMN0azZz2HlensVVeGGqHMx2jAqcsTt44Tvw9CIf7/TNnc2 cGSSI5x5aN5mpjAAypH16b/pYyJpynoj7w7MFMiuKIy5y5mhJSNJtadTLa6eZorbIfd9M+ 5nvTeyPe6F/VTWkcslCCjR69rUHyHs2HLxU9ItsmYa1u4xdB9bfHDDITbrETBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dm5dz6DJJz15Vm; Tue, 06 Jan 2026 22:37:43 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Tue, 6 Jan 2026 14:37:41 -0800 From: Gleb Smirnoff To: current@freebsd.org Cc: Jose Luis Duran Subject: mtree(1) recent POLA violation Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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