From owner-freebsd-questions Sat Jun 9 23:48:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id 8498937B403 for ; Sat, 9 Jun 2001 23:48:19 -0700 (PDT) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1001) id 99CC93830AD; Sun, 10 Jun 2001 01:48:18 -0500 (CDT) Date: Sun, 10 Jun 2001 01:48:18 -0500 From: Christopher Farley To: david@banning.com Cc: questions@freebsd.org Subject: Re: howto question burncd mkisofs Message-ID: <20010610014816.A49614@northernbrewer.com> Mail-Followup-To: Christopher Farley , david@banning.com, questions@freebsd.org References: <200106100511.f5A5Brr07251@d.tracker> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106100511.f5A5Brr07251@d.tracker>; from sky_tracker@yahoo.com on Sun, Jun 10, 2001 at 05:11:53AM +0000 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Banning (sky_tracker@yahoo.com) wrote: > > I am trying to create an image using mkisofs. > > I am attempting to backup /usr/dirone and it's subfiles > and /usr/dirtwo and it's subfiles. > > I issue the command: > > mkisofs -o image.iso /usr/dirone /usr/dirtwo > and then burn it onto the cdrom. > > what I *want* on my cdrom is; > > $ cd /cdrom > $ ls > /dirone /dirtwo > > but instead I get all the files below each directory mixed together. > in other words, I can't get the tops of the directory's copied > unless I copy /usr - but then I get all other unwanted directories > under /usr mkisofs -graft-points -o image.iso dirone/=/usr/dirone dirtwo/=/usr/dirtwo There are a zillion other important options to include in mkisofs for accurate reproduction of a UNIX filesystem, most of which violate the ISO9660 standard. Slog your way through the manpages, or take my word for it and specify these flags: -d -N -D -R -L -l -J -T -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message