From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 25 13:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3D226A9 for ; Wed, 25 Dec 2013 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83AF416DE for ; Wed, 25 Dec 2013 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBPDe0rp042825 for ; Wed, 25 Dec 2013 13:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBPDe0m0042824; Wed, 25 Dec 2013 13:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 25 Dec 2013 13:40:00 GMT Resent-Message-Id: <201312251340.rBPDe0m0042824@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C67144D9 for ; Wed, 25 Dec 2013 13:33:08 +0000 (UTC) Received: from smtpout7.timeweb.ru (smtpout7.timeweb.ru [92.53.117.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EC13169F for ; Wed, 25 Dec 2013 13:33:08 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Vvoa3-0005Rx-Vf for FreeBSD-gnats-submit@freebsd.org; Wed, 25 Dec 2013 17:32:59 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 94BEA815 for ; Wed, 25 Dec 2013 17:32:59 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 884043C34; Wed, 25 Dec 2013 17:32:59 +0400 (MSK) Message-Id: <20131225133259.884043C34@hades.panopticon> Date: Wed, 25 Dec 2013 17:32:59 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/185174: [mtree] incomplete compatibility via -F freebsd9 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Dmitry Marakasov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 13:40:00 -0000 >Number: 185174 >Category: bin >Synopsis: [mtree] incomplete compatibility via -F freebsd9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 25 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 10.0-RC2 amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 10.0-RC2 FreeBSD 10.0-RC2 #0 r259560: Wed Dec 18 21:37:41 MSK 2013 root@hades.panopticon:/usr/obj/usr/src/sys/HADES amd64 >Description: New mtree imported from NetBSD has -F flag which, being set to freebsd9, declares compatibility to old mtree. This, however, is not fully preserved for at least verifying: while old mtree outputs filename extra new mtree outputs extra: filename regardless of -F setting This affects at least tinderbox which incorrectly parses such output. >How-To-Repeat: % mtree -cn -k uid,gid,mode -p /tmp > /tmp/mtree.pristine % touch /tmp/newfile % mtree -f /tmp/mtree.pristine -p /tmp extra: newfile % mtree -F freebsd9 -f /tmp/mtree.pristine -p /tmp extra: newfile % fmtree -f /tmp/mtree.pristine -p /tmp newfile extra >Fix: >Release-Note: >Audit-Trail: >Unformatted: