Pull specific instructions on how to burn raw CDs, pointing instead to

appropriate Handbook entries.  Leave general description of problem.
This commit is contained in:
Michael Lucas 2002-01-22 10:22:02 +00:00
parent f73fed85d4
commit 7e5b9aded9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11791

View file

@ -3764,45 +3764,13 @@ quit</programlisting>
</question>
<answer>
<para>You most likely burned a raw file to your CD. This is
often the case if you tried to burn your data directly to
the CDROM, without creating an ISO9660 file system image
first.</para>
<screen>&prompt.root; <userinput>burncd -f /dev/acd1c -s 12 data archive.tar.gz fixate</userinput></screen>
<para>CDs are sometimes burned this way, especially for
backup purposes. In order to retrieve the data burned to
the CD in the above manner, you would have to read data
from the raw device node :</para>
<screen>&prompt.root; <userinput>tar xzvf /dev/acd1c</userinput></screen>
<para>However, if you want to be able to mount your CD under
FreeBSD and/or use it under a different operating system,
this method will not work. Instead, you will first have to
create an ISO 9660 filesystem from the files to be burned
to your CD. In order to do that, you will have to install
the <filename>sysutils/mkisofs</filename> port. Once that
has been done, you can create an ISO9660 image with the
following command :</para>
<screen>&prompt.root; <userinput>mkisofs --allow-lowercase --allow-multidot -r -o cdimage cddir</userinput></screen>
<para>This will create a file named
<filename>cdimage</filename> from all files in the
<filename>cddir</filename> directory. You can then
type :</para>
<screen>&prompt.root; <userinput>burncd -f /dev/acd1c -s 12 data cdimage fixate</userinput></screen>
<para>The resulting CD can be mounted under FreeBSD like any
other normal CD, and it will work under other operating
systems as well. For more information about creating and
using optical media (CDs and DVDs) with FreeBSD, please
see the <ulink URL="../handbook/creating-cds.html">FreeBSD
Handbook</ulink>.</para>
<para>You most likely burned a raw file to your CD, rather
than creating an ISO 9660 filesystem. Take a look at the
<ulink URL="../handbook/creating-cds.html">Handbook
chapter on creating CDROMs</ulink>, particularly the
section on <ulink
URL="../handbook/creating-cds.html#RAWDATA-CD">burning raw
data CDs</ulink>.</para>
</answer>
</qandaentry>