From owner-freebsd-questions@FreeBSD.ORG Fri Jun 26 20:40:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B75AD106564A for ; Fri, 26 Jun 2009 20:40:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 915998FC18 for ; Fri, 26 Jun 2009 20:40:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22574 invoked from network); 26 Jun 2009 20:40:48 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Jun 2009 20:40:47 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1691A5085A; Fri, 26 Jun 2009 16:40:47 -0400 (EDT) To: freebsd-questions@freebsd.org References: From: Lowell Gilbert Date: Fri, 26 Jun 2009 16:40:46 -0400 In-Reply-To: (Carmel NY's message of "Fri\, 26 Jun 2009 14\:01\:11 -0400") Message-ID: <44eit6sp81.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Adding data to existing CD/DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 20:40:49 -0000 Carmel NY writes: > I have tried both xfburn and cdrecord; however, I cannot figure out how > to add data to an existing CD, or create a CD that I can later add data > to. It seems that once the CD is written to, this disc is closed. I > have seen a few options that allow writing to the disk multiple times; > however, they are then only viewable on a FreeBSD system. I need to > create discs that are viewable on multiple OS's and that I can add data > to after the initial burn. Using mkisofs creates an ISO that makes > adding data to impossible as far as I can tell. You need to *not* fixate the disk, and on subsequent sessions you need to tell mkisofs where to start the new image. The burning command also needs to know that it's a multi-session disk. See the "-C" option for mkisofs, and the "-multi" option for cdrecord. My crib sheet for burning disks provides an example: # first session TZ=UTC-5 mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi -data -tao - #other sessions OFST=`cdrecord -msinfo` echo $OFST TZ=UTC-5 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v driveropts=burnfree -tao -multi -data -eject - > On windows, it is easily done. I just cannot get a handle on how to do > it on FreeBSD. Maybe I need a different program? Certainly the sysutils/k3b port makes it much simpler. But the command line is quite easy too, now that I have a working script written down. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/