From owner-freebsd-stable@FreeBSD.ORG Wed Jun 16 00:15:15 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2984E1065672; Wed, 16 Jun 2010 00:15:15 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) by mx1.freebsd.org (Postfix) with ESMTP id 12E038FC0A; Wed, 16 Jun 2010 00:15:14 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o5G057Dx076152; Tue, 15 Jun 2010 17:05:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:x-mailer:content-transfer-encoding; b=nvxXPg0U0ozhAVdQ7Yct9KmfZq0Bvl6+FfsGJ8Iswvf+xO8Qu2sT1nIs2m4KQ/Ul From: Sean Bruno To: "delphij@freebsd.org" In-Reply-To: <1276639800.2462.80.camel@localhost.localdomain> References: <1276639800.2462.80.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Tue, 15 Jun 2010 17:05:07 -0700 Message-ID: <1276646707.2462.82.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" Subject: Re: [Stable 7] CPIO breakage/ X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 00:15:15 -0000 On Tue, 2010-06-15 at 17:10 -0500, Sean Bruno wrote: > http://svn.freebsd.org/viewvc/base?limit_changes=0&view=revision&revision=208361 > > I'm not sure what's up with this update, but it hosed up the default > behavior of cpio. > > It appears now that -o won't do the same things that it used to: > > + cd / > + find -x . > + egrep -v '^\.(/snap|/usr/sup|/boot/kernel/kernel > \.[[:alpha:]_]+\.[[:digit:]]+|/boot/kernel/kernel > \.old|/etc/start_if.*|/etc/ssh/ssh_host_.*key|/etc/hostid|/etc/(master.passwd|passwd|spwd.db|pwd.db))' > + '[' -n '' ']' > + '[' 7 = 4 ']' > + '[' -n '' -a -z '' ']' > + '[' -n /home/backup ']' > + echo 'dumping / ...' > dumping / ... > + cpio -o --quiet --format crc -O /home/backup/root.amd64.cpio > cpio: ./dev not dumped: minor number would be truncated > cpio: Removing leading `/' from member names > cpio: ./proc not dumped: minor number would be truncated > cpio: Removing leading `../' from member names > > We've had to revert this change from our local tree, suggestions? > > Sean A little more background. It looks like symlinks are getting stripped of their '/' which sucks. Ideas? Sean e.g. /home/foo/bar -> /opt/baz/blob becomes home/foo/bar -> opt/baz/blob Yuck.