mkisofs options question

Charles Howse chowse at charter.net
Wed Dec 24 08:40:49 PST 2003


On Wednesday 24 December 2003 10:13 am, Lowell Gilbert wrote:
> Charles Howse <chowse at 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 at 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 at 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 at 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 at 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.



More information about the freebsd-questions mailing list