From owner-freebsd-current@FreeBSD.ORG Thu Jul 23 23:03:54 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C3EA91065672; Thu, 23 Jul 2009 23:03:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Thu, 23 Jul 2009 19:03:42 -0400 User-Agent: KMail/1.6.2 References: <4A615602.4090000@freebsd.org> In-Reply-To: <4A615602.4090000@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200907231903.46474.jkim@FreeBSD.org> Cc: Tim Kientzle Subject: Re: Joliet and release ISOs? 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: Thu, 23 Jul 2009 23:03:55 -0000 On Saturday 18 July 2009 12:56 am, Tim Kientzle wrote: > Do we need Joliet extensions on the release ISOs? > > The reason I ask is a little involved: jkim@ recently > pointed out to me that tar in -CURRENT can no longer > extract symlinks from the release ISOs. > > I tracked this down to the fact that the release ISOs > have both Joliet and RockRidge extensions and tar now > supports (and actually prefers) Joliet extensions when > it sees them. Joliet doesn't support symlinks, so tar > doesn't see symlinks on disks with both kinds of extensions. > > There's a workaround that people can use for now: > tar xf image.iso --options=!joliet > disables the Joliet support. > > I'm curious whether removing the -J option from > /usr/src/release/*/mkisoimages.sh is an option. > > In the longer term, I'd like to find a better way for > tar to handle disks that include both kinds of extensions, > but that will take a while to implement. The "--options=!joliet" trick didn't work for me: # uname -mrs FreeBSD 8.0-BETA2 amd64 # tar -x --options=!joliet -p -f ../8.0-BETA2-amd64-livefs.iso # ls -la total 64 drwx------ 18 root wheel 512 7 23 18:47 . drwxr-xr-x 87 jkim staff 9728 7 23 18:50 .. -r--r--r-- 2 root wheel 786 7 15 17:10 .cshrc -r--r--r-- 1 root wheel 1550 7 15 17:58 .profile -r--r--r-- 1 root wheel 6193 7 15 17:10 COPYRIGHT dr-xr-xr-x 2 root wheel 1024 7 15 17:08 bin dr-xr-xr-x 7 root wheel 1024 7 15 17:58 boot -r--r--r-- 1 root wheel 2048 7 15 20:31 boot.catalog -r--r--r-- 1 root wheel 23 7 15 17:58 cdrom.inf dr-xr-xr-x 2 root wheel 512 7 15 17:08 dev dr-xr-xr-x 20 root wheel 2048 7 15 17:49 etc dr-xr-xr-x 3 root wheel 1536 7 15 17:49 lib dr-xr-xr-x 2 root wheel 512 7 15 17:10 libexec dr-xr-xr-x 2 root wheel 512 7 15 17:08 media dr-xr-xr-x 2 root wheel 512 7 15 17:08 mnt dr-xr-xr-x 2 root wheel 512 7 15 17:08 proc dr-xr-xr-x 2 root wheel 2560 7 15 17:09 rescue dr-xr-xr-x 2 root wheel 512 7 15 17:10 root dr-xr-xr-x 25 root wheel 1024 7 15 20:31 rr_moved dr-xr-xr-x 2 root wheel 2560 7 15 17:10 sbin lr-xr-xr-x 1 root wheel 8 7 15 17:58 stand -> //rescue lr-xr-xr-x 1 root wheel 11 7 15 17:08 sys -> usr/src/sys dr-xr-xr-x 2 root wheel 512 7 15 17:08 tmp dr-xr-xr-x 14 root wheel 512 7 15 17:49 usr dr-xr-xr-x 21 root wheel 512 7 15 17:49 var # cd rescue # ls -il total 4204 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 [ 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 atacontrol 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 atmconfig 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 badsect ... 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 whoami 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 zcat 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 zfs 3326283 -r-xr-xr-x 131 root wheel 4485472 7 15 17:09 zpool # file atacontrol atacontrol: data # hexdump atacontrol 0000000 0000 0000 0000 0000 0000 0000 0000 0000 * 0447160 What did I miss? Jung-uk Kim