The track number in audio cdroms has two digits and is filled with

zeros if it's less than 10.  Make sure we get the device names right
in the audio CD-ROM copying instructions.

PR:		48545
Submitted by:	Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
This commit is contained in:
Giorgos Keramidas 2003-03-26 02:11:55 +00:00
parent d2e6a0c736
commit fb73b104ec
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16368

View file

@ -945,11 +945,14 @@ scsibus1:
<step>
<para>The ATAPI CD driver makes each track available as
<filename>/dev/acd<replaceable>d</replaceable>t<replaceable>n</replaceable></filename>,
<filename>/dev/acd<replaceable>d</replaceable>t<replaceable>nn</replaceable></filename>,
where <replaceable>d</replaceable> is the drive number, and
<replaceable>n</replaceable> is the track number. So the first
track on the first disk is
<filename>/dev/acd0t1</filename>.</para>
<replaceable>nn</replaceable> is the track number written with two
decimal digits, prefixed with zero as needed.
So the first track on the first disk is
<filename>/dev/acd0t01</filename>, the second is
<filename>/dev/acd0t02</filename>, the third is
<filename>/dev/acd0t03</filename>, and so on.</para>
<para>Make sure the appropriate files exist in
<filename>/dev</filename>.</para>
@ -967,8 +970,8 @@ scsibus1:
<para>Extract each track using &man.dd.1;. You must also use a
specific block size when extracting the files.</para>
<screen>&prompt.root; <userinput>dd if=/dev/acd0t1 of=track1.cdr bs=2352</userinput>
&prompt.root; <userinput>dd if=/dev/acd0t2 of=track2.cdr bs=2352</userinput>
<screen>&prompt.root; <userinput>dd if=/dev/acd0t01 of=track1.cdr bs=2352</userinput>
&prompt.root; <userinput>dd if=/dev/acd0t02 of=track2.cdr bs=2352</userinput>
...
</screen>
</step>