From fb73b104ec1d466f7f2841eab595270b9c4926b7 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Wed, 26 Mar 2003 02:11:55 +0000 Subject: [PATCH] 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 --- en_US.ISO8859-1/books/handbook/disks/chapter.sgml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index 9b1d5baaf5..e2b6f1a46d 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -945,11 +945,14 @@ scsibus1: The ATAPI CD driver makes each track available as - /dev/acddtn, + /dev/acddtnn, where d is the drive number, and - n is the track number. So the first - track on the first disk is - /dev/acd0t1. + nn is the track number written with two + decimal digits, prefixed with zero as needed. + So the first track on the first disk is + /dev/acd0t01, the second is + /dev/acd0t02, the third is + /dev/acd0t03, and so on. Make sure the appropriate files exist in /dev. @@ -967,8 +970,8 @@ scsibus1: Extract each track using &man.dd.1;. You must also use a specific block size when extracting the files. - &prompt.root; dd if=/dev/acd0t1 of=track1.cdr bs=2352 -&prompt.root; dd if=/dev/acd0t2 of=track2.cdr bs=2352 + &prompt.root; dd if=/dev/acd0t01 of=track1.cdr bs=2352 +&prompt.root; dd if=/dev/acd0t02 of=track2.cdr bs=2352 ...