Now that the Handbook tells us how to mount a CDROM, replace this

tutorial with links to the proper Handbook sections.
This commit is contained in:
Michael Lucas 2002-01-22 11:14:58 +00:00
parent e95d410b49
commit 4388a63568
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11793

View file

@ -3682,31 +3682,12 @@ quit</programlisting>
</question>
<answer>
<para>You have to tell &man.mount.8;
the type of the device that you want to mount. By default,
&man.mount.8;
will assume the filesystem is of type <literal>ufs</literal>.
You want to mount a CDROM filesystem, and you do this by
specifying the <option>-t cd9660</option> option to
&man.mount.8;. This does, of course, assume that the
CDROM contains an ISO 9660 filesystem, which is what most CDROMs
have. As of 1.1R, FreeBSD automatically understands the Rock
Ridge (long filename) extensions as well.</para>
<para>As an 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 CDROM
interface. Note that the <option>-t cd9660</option> option just
causes the &man.mount.cd9660.8; command to be
executed, and so the above example could be shortened
to:</para>
<screen>&prompt.root; <userinput>mount_cd9660 /dev/cd0c /mnt</userinput></screen>
<para>You have to tell &man.mount.8; the type of the device
that you want to mount. This is described in the <ulink
URL="../handbook/creating-cds.html"> Handbook section on
optical media</ulink>, specifically the section <ulink
URL="../handbook/creating-cds.html#MOUNTING-CD">Using Data
CDs</ulink>.</para>
</answer>
</qandaentry>