Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 10:30:35 -0600
From:      Charles Howse <chowse@charter.net>
To:        FBSD Questions <freebsd-questions@freebsd.org>, Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
Cc:        Dan Nelson <dnelson@allantgroup.com>
Subject:   Re: mkisofs options question
Message-ID:  <200312241030.36006.chowse@charter.net>
In-Reply-To: <44ekuuqjlp.fsf@be-well.ilk.org>
References:  <200312240933.44534.chowse@charter.net> <44ekuuqjlp.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 24 December 2003 10:13 am, Lowell Gilbert wrote:
> Charles Howse <chowse@charter.net> writes:
> > I have some directories that I need to include in a .iso file.
> > I've followed the online Handbook section 12.5.2, and read man mkisofs.
> >
> > The directories each have the file CUSTOM in them.
> > That causes mkisofs to error:
> >
> > [root@moe ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
> > Warning: creating filesystem that does not conform to ISO-9660.
> > Using CUSTOM000 for  /CUSTOM (CUSTOM)
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Unable to sort directory
> >
> > What are the proper options for mkisofs so that I can have identical
> > filenames in different directories?
>
> I tried to reproduce this situation, and couldn't.
> Could you produce a test case?

Dan, I may have to mkdir /disk2/cdrom and move whatever I want to burn into 
it.

Lowell, not exactly sure what you mean by test case, but here goes:

[root@moe ~]# ll /disk2/curly
total 3700
drwxrwxr-x  2 root  wheel  -     512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  -     512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -    9839 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -  233112 Dec 24 02:09 curly_etc_files.tgz
-rw-r--r--  1 root  wheel  -   16901 Dec 24 02:09 curly_root_files.tgz
-rw-r--r--  1 root  wheel  -  501774 Dec 24 02:09 
curly_usr_local_etc_files.tgz
-rw-r--r--  1 root  wheel  - 2944901 Dec 24 02:09 
curly_usr_local_www_files.tgz
-rw-r--r--  1 root  wheel  -    2860 Dec 24 02:09 portversion.txt
[root@moe ~]# ll /disk2/larry
total 288
drwxrwxr-x  2 root  wheel  -    512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  -    512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -   9595 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -   2004 Dec 24 02:09 larry_charles-12-23-03.tgz
-rw-r--r--  1 root  wheel  - 231715 Dec 24 02:09 larry_etc-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   8135 Dec 24 02:09 larry_root-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   7077 Dec 24 02:09 
larry_usr_local_etc-12-23-03.tgz
[root@moe ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
Warning: creating filesystem that does not conform to ISO-9660.
Using CUSTOM000 for  /CUSTOM (CUSTOM)
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Unable to sort directory


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Usefulness is inversely proportional to its reputation
for being useful.



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