Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 1998 20:32:13 -0500
From:      David Deaven <deaven@execpc.com>
To:        Jon Loeliger <jdl@jdl.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: CD ROM Read/Write drive 
Message-ID:  <199808050132.UAA27651@pop00.execpc.com>
In-Reply-To: Your message of "Mon, 03 Aug 1998 10:51:04 CDT." <199808031551.KAA15080@chrome.jdl.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

(I'm cc'ing this to -questions because I had a typo in a command that I gave 
in my original post.)
 
Please substitute "-data -dev=XXX" for "-datadev=XXX" below.

Dave Deaven says:
>> You can dump a whole filesystem directly to a CDRW using cdrecord and mkisof
>s
>>:
>> 
>>   mkisofs -a -l -L -R -r <filesys> | \
>>      (sleep 300; cdrecord -v speed=2 -datadev=XXX -)
>> 
>> the sleep allows mkisofs time to work through creating the TOC and be able t
>o
>> provide a continuous stream of data to the recorder.
>
>Woo!  This is likely to be *exactly* the key information here!
>OK, so what is the ballpark amount of space that I should expect
>to get onto a CD ROM in this fasion?  And do I need to first
>completely set up an "original" on my machine to copy out of
>and clone onto the CD?  Do I need to lay out one, clean, complete
>filesystem and clone it onto the CD?  Or can I point to a
>single (multiple?) subdirectory on one of my existing filesystems
>and clone that onto a CD?

You can get about 650Mb of data onto a CDR or CDRW this way.  You do
not need to make a copy (though you could make an iso fs image with the 
intermediate piped data).  Various methods can be used to tell mkisofs to 
exclude directory subtress, etc, similar to tar.  It just makes a new fs out 
of what it finds.

>
>Is this a write-once-start-to-finish operation?  Or can I *add*
>to a CD that's been previously partially written with one command
>like above?

You can make multi-track track-at-a-time, which allows you to add to a CDR 
that you started.  But, this requires more overhead and lets you put less on a 
single disk.  I rarely run this way (but I usually burn rewriteables).

>
>
>> cdrecord also allows you to make audio CDs with no problem.
>
>Ah, excellent.  I'll have to plug my drum set into the MIDI
>port after all... :-)
>
>
>Thanks for your help!
>
>jdl
>

-- 
-------------------------------------
David Deaven        deaven@execpc.com
http://www.execpc.com/~deaven




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808050132.UAA27651>