Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 01:33:51 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Joliet and release ISOs?
Message-ID:  <200907250134.05925.jkim@FreeBSD.org>
In-Reply-To: <4A6A87E1.8030504@freebsd.org>
References:  <4A615602.4090000@freebsd.org> <200907241514.18806.jkim@FreeBSD.org> <4A6A87E1.8030504@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 25 July 2009 12:19 am, Tim Kientzle wrote:
> Jung-uk Kim wrote:
> > Still, there is one minor annoyance:
> >
> > %ls -l test
> > total 0
> > lrwxr-xr-x  1 jkim  staff  1  7 24 14:54 link1 -> /
> > lrwxr-xr-x  1 jkim  staff  2  7 24 14:55 link2 -> //
> > lrwxr-xr-x  1 jkim  staff  2  7 24 14:55 link3 -> /.
> > lrwxr-xr-x  1 jkim  staff  2  7 24 14:55 link4 -> ./
> > lrwxr-xr-x  1 jkim  staff  2  7 24 14:55 link5 -> ..
> > lrwxr-xr-x  1 jkim  staff  4  7 24 14:56 link6 -> /tmp
> > lrwxr-xr-x  1 jkim  staff  5  7 24 14:56 link7 -> //tmp
> > lrwxr-xr-x  1 jkim  staff  4  7 24 14:56 link8 -> tmp/
> > lrwxr-xr-x  1 jkim  staff  5  7 24 14:56 link9 -> /tmp/
> > %tar -t --options=\!joliet -v -f test.iso
> > drwx------  0 0      0        2048  7 24 14:56 .
> > lr-xr-xr-x  1 0      0           0  7 24 14:56 link9 -> //tmp/
> > lr-xr-xr-x  1 0      0           0  7 24 14:56 link8 -> tmp/
> > lr-xr-xr-x  1 0      0           0  7 24 14:56 link7 -> ///tmp
> > lr-xr-xr-x  1 0      0           0  7 24 14:56 link6 -> //tmp
> > lr-xr-xr-x  1 0      0           0  7 24 14:55 link5 -> ..
> > lr-xr-xr-x  1 0      0           0  7 24 14:55 link4 -> ./
> > lr-xr-xr-x  1 0      0           0  7 24 14:55 link3 -> //.
> > lr-xr-xr-x  1 0      0           0  7 24 14:55 link2 -> ///
> > lr-xr-xr-x  1 0      0           0  7 24 14:54 link1 -> /
> >
> > Note there is an additional `/' when the link has a leading `/'
> > (but not just `/'), i.e., `//' => `///', `/.' => `//.', `/tmp' =>
> > `//tmp', `//tmp' => `///tmp'.  For FreeBSD CD-ROMs, `stand ->
> > /rescue' becomes `stand -> //rescue', etc.
>
> Here's another patch for you to try; this changes how
> libarchive parses Rockridge "SL" extensions.

Looks fine now.  Thanks!

> Cheers,
>
> Tim
>
> P.S.  Could you email me privately the "test.iso" image
> you created on your machine?  I tried creating one here
> and get slightly different behavior.  Also, what version
> of mkisofs do you have installed on your machine?

I am using 2.01.01a61 from sysutils/cdrtools-devel because 2.01 is too 
old for me, e.g., virtually no NLS support.  I'll send you the file 
in a separate e-mail shortly.

Jung-uk Kim



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