From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 08:40:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A41C16A4CE for ; Wed, 24 Dec 2003 08:40:49 -0800 (PST) Received: from mxsf02.cluster1.charter.net (mxsf02.cluster1.charter.net [209.225.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E9DD43D2F for ; Wed, 24 Dec 2003 08:40:46 -0800 (PST) (envelope-from chowse@charter.net) Received: from moe.howse.homeunix.net (midsouth-24-151-208-111.westtn.chartertn.net [24.151.208.111]) hBOGUaLo078116; Wed, 24 Dec 2003 11:30:37 -0500 (EST) (envelope-from chowse@charter.net) From: Charles Howse To: FBSD Questions , Lowell Gilbert Date: Wed, 24 Dec 2003 10:30:35 -0600 User-Agent: KMail/1.5.4 References: <200312240933.44534.chowse@charter.net> <44ekuuqjlp.fsf@be-well.ilk.org> In-Reply-To: <44ekuuqjlp.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312241030.36006.chowse@charter.net> cc: Dan Nelson Subject: Re: mkisofs options question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 16:40:49 -0000 On Wednesday 24 December 2003 10:13 am, Lowell Gilbert wrote: > Charles Howse 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.