From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 07:21:06 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F4211065675; Sun, 1 Aug 2010 07:21:06 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1738F8FC12; Sun, 1 Aug 2010 07:21:05 +0000 (UTC) Received: by qyk31 with SMTP id 31so5718170qyk.13 for ; Sun, 01 Aug 2010 00:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=Q9cCYTW/TDANzl9sorShHZFbL5u+ntfCXDrnXlSDgTM=; b=oqJLyQcZUe5+gL1zJ6dkskClTAzuAwiSAl/9FJ20Vc2ALGFnQ5vHjmZOwDMyeziyrM adWwjY1QtZZoVzUA5g0TaayUPv/WIB0ydL/yx2oxP+XzvnZuy4Qsi9+5SDTP+rty4O/c KgyH/KYUTyw7+3MNAscoC/8QvgP/ugK7ogRzA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=lBp30F06rQ2UwIBXdxg5HgmRvjWTHP6hPU+WkIf6ZX8ApUeturQ20wLWTJVE8C00Iz udMCUcIANW3ITYbXcaJsI8RBWzSNDW7gKuYwN1TWXtgcwMudfPlSZP4SZqa081J4pmEs ZqAyoicgg4umhPK4CpYWzDhVDvGYW4I+oKmgg= Received: by 10.220.166.71 with SMTP id l7mr2922936vcy.9.1280647265219; Sun, 01 Aug 2010 00:21:05 -0700 (PDT) Received: from localhost (torexit1.talkflack.com [173.193.216.91]) by mx.google.com with ESMTPS id v11sm3872419vbb.3.2010.08.01.00.21.02 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Aug 2010 00:21:04 -0700 (PDT) From: Anonymous To: Tim Kientzle References: <86fwz1bfmi.fsf@gmail.com> Date: Sun, 01 Aug 2010 11:20:59 +0400 In-Reply-To: (Tim Kientzle's message of "Sat, 31 Jul 2010 23:26:32 -0700") Message-ID: <86sk2y3ijo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org Subject: Re: bsdcpio(1): -L|-R options don't work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 07:21:06 -0000 Tim Kientzle writes: [...] > The -L handling here looks correct, though. Remember > that -L means "follow symlinks", which means that foo/baz > should get created in the target as a directory and not as > a symlink, which is exactly what you've shown. > > If you want blah/foo/baz to be a symlink, you want to omit > the -L option. OK, GNU cpio works as you say. I was just confused about bsd.gecko.mk cd ${FAKEDIR}/${dir} && ${FIND} . | \ ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${dir} that creates empty directories, e.g. PREFIX/lib/firefox3/bin PREFIX/lib/firefox3/idl PREFIX/lib/firefox3/include PREFIX/lib/firefox3/lib rather than copying contents.