From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 08:10:25 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 44C2516A4CE for ; Wed, 24 Dec 2003 08:10:25 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2001B43D2F for ; Wed, 24 Dec 2003 08:10:24 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id hBOGANDE007158; Wed, 24 Dec 2003 10:10:23 -0600 (CST) (envelope-from dan) Date: Wed, 24 Dec 2003 10:10:22 -0600 From: Dan Nelson To: Charles Howse Message-ID: <20031224161022.GH2890@dan.emsphone.com> References: <200312240933.44534.chowse@charter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312240933.44534.chowse@charter.net> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: FBSD Questions 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:10:25 -0000 In the last episode (Dec 24), Charles Howse said: > 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? They are in the same directory. Remember that when you pass mkisofs a list of directories, their contents are combined to create the CD. you can't have duplicates, though. /disk2/larry/CUSTOM and /disk2/curly/CUSTOM both map to "/CUSTOM" on the cdrom. If you really wanted the cdrom to contain two subdirectories named "/larry" and "/curly", try passing just "/disk2" to mkisofs, or if there are other directories in disk2, create a /disk2/cdrom, move larry and curly into there, and run "mkisofs /disk2/cdrom". -- Dan Nelson dnelson@allantgroup.com