The "Creating and Using Optical Media" section does not say how to

mount a CDROM?  You have *got* to be kidding...

Fixed, with content pulled from FAQ.

----------------------------------------------------------------------
This commit is contained in:
Michael Lucas 2002-01-22 11:06:19 +00:00
parent 7e5b9aded9
commit e95d410b49
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11792

View file

@ -908,6 +908,39 @@ scsibus1:
audio tracks, controlling the speed, and other things.</para>
</sect2>
<sect2 id="mounting-cd">
<title>Using Data CDs</title>
<para>Now that you have created a standard data CDROM, you
probably want to mount it and read the data on it. By
default, &man.mount.8; assumes that a filesystem is of type
<literal>ufs</literal>. If you try something like:</para>
<screen>&prompt.root; <userinput>mount /dev/cd0c/mnt</userinput></screen>
<para>you will get a complaint about <errorname>Incorrect super
block</errorname>, and no mount. The CDROM is not a
<literal>UFS</literal> filesystem, so attempts to mount it
as such will fail. You just need to tell &man.mount.8; that
the filesystem is of type <literal>ISO9660</literal>, and
everything will work. You do this by specifying the
<option>-t cd9660</option> option &man.mount.8;. For
example, if you want to mount the CDROM device,
<devicename>/dev/cd0c</devicename>, under
<filename>/mnt</filename>, you would execute:</para>
<screen>&prompt.root; <userinput>mount -t cd9660 /dev/cd0c /mnt</userinput></screen>
<para>Note that your device name
(<devicename>/dev/cd0c</devicename> in this example) could be
different, depending on the interface your CDROM uses. Also,
the <option>-t cd9660</option> option just executes
&man.mount.cd9660.8;. The above example could be shortened
to:</para>
<screen>&prompt.root; <userinput>mount_cd9660 /dev/cd0c /mnt</userinput></screen>
</sect2>
<sect2 id="rawdata-cd">
<title>Burning Raw Data CDs</title>