Update the DVD-RAM section a bit. This avoids the usage of "you", "we"
and things like that, which is consistent with the rest of the documention. Also remove a paragraph that mentioned that the upcoming commands should be executed as root, since the prompt should imply that already (like the rest of the handbook has as well).
This commit is contained in:
parent
abe7360553
commit
d7fd936e49
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27956
1 changed files with 9 additions and 12 deletions
|
|
@ -1786,8 +1786,8 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
|
|||
<title>Configuration</title>
|
||||
|
||||
<para>DVD-RAM writers come with either SCSI or ATAPI
|
||||
interface. You have to enable DMA access for ATAPI devices,
|
||||
this can be done in adding the following line to the
|
||||
interface. DMA access for ATAPI devices have to be enabled,
|
||||
this can be done by adding the following line to the
|
||||
<filename>/boot/loader.conf</filename> file:</para>
|
||||
|
||||
<programlisting>hw.ata.atapi_dma="1"</programlisting>
|
||||
|
|
@ -1796,32 +1796,29 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
|
|||
<sect3>
|
||||
<title>Preparing the Medium</title>
|
||||
|
||||
<para>As previously said in this chapter introduction, a
|
||||
<para>As previously mentioned in the chapter introduction, a
|
||||
DVD-RAM can be seen as a removable hard drive. As any other
|
||||
hard drive the DVD-RAM must be <quote>prepared</quote>
|
||||
before the first use. In our example, we will use the whole
|
||||
disk space with a standard UFS2 file system.</para>
|
||||
|
||||
<para>As <username>root</username> type the following
|
||||
commands with the DVD-RAM in:</para>
|
||||
before the first use. In the example, the whole
|
||||
disk space will be used with a standard UFS2 file system:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/dev/acd0</replaceable> count=2</userinput>
|
||||
&prompt.root; <userinput>disklabel -Bw <replaceable>acd0</replaceable></userinput>
|
||||
&prompt.root; <userinput>newfs <replaceable>/dev/acd0</replaceable></userinput></screen>
|
||||
|
||||
<para>The DVD device, <devicename>acd0</devicename>, must be
|
||||
changed according to your configuration.</para>
|
||||
changed according to the configuration.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
<title>Using the Medium</title>
|
||||
|
||||
<para>Once you have performed the previous operations on your
|
||||
DVD-RAM, you can mount it as a normal hard drive:</para>
|
||||
<para>Once the previous opereations have been performed on the
|
||||
DVD-RAM, it can be mounted as a normal hard drive:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount <replaceable>/dev/acd0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
|
||||
|
||||
<para>Then you will be able to read and write on it.</para>
|
||||
<para>After this the DVD-RAM will be both readable and writeable.</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue