Joliet and release ISOs?
Tim Kientzle
kientzle at freebsd.org
Sat Jul 25 04:19:47 UTC 2009
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libarchive_iso9660_symlink.patch
Type: text/x-patch
Size: 1534 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090725/db48c04b/libarchive_iso9660_symlink.bin
More information about the freebsd-current
mailing list