Re: Joliet and release ISOs?

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Fri, 24 Jul 2009 21:19:45 -0700
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.

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?


Received on Sat Jul 25 2009 - 02:19:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC