Joliet and release ISOs?

Jung-uk Kim jkim at FreeBSD.org
Sat Jul 25 05:34:13 UTC 2009


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


More information about the freebsd-current mailing list