Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 19:03:42 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Cc:        Tim Kientzle <kientzle@freebsd.org>
Subject:   Re: Joliet and release ISOs?
Message-ID:  <200907231903.46474.jkim@FreeBSD.org>
In-Reply-To: <4A615602.4090000@freebsd.org>
References:  <4A615602.4090000@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907231903.46474.jkim>