From: Matt_Domsch@Dell.com
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] CD-ROM I/O error
Date: Mon, 10 Jun 2002 15:56:38 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905661@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905659@msgid-missing>
> when I do 'cat /dev/cdrom > disc.iso' on my Itanium box,
> I/O error happens on CD-ROM.
If you're trying to simply make an ISO with the right number of sectors, you
need to use 'isoinfo' to avoid these kinds of end-of-disc problems.
Something like (yes I use this quite often):
[mdomsch@humbolt mdomsch]$ more ~/check_cds
#!/bin/sh
CD=0
while [ 1 ]; do
CD=`expr $CD + 1`
echo "Insert CD #$CD. What shall I name it?"
read CDNAME
SIZE=`isoinfo -d -i /dev/cdrom | grep "Volume size is: " | awk '{print
$4}'`
dd if=/dev/cdrom bs=2k count=$SIZE of=$CDNAME
mount /mnt/cdrom
ls -lR /mnt/cdrom
umount /mnt/cdrom
done
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
Dell internal Linux lists @ http://insidelists.us.dell.com
Dell public Linux lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001 and Q1/2002! (IDC May 2002)
next prev parent reply other threads:[~2002-06-10 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-10 10:18 [Linux-ia64] CD-ROM I/O error j-nomura
2002-06-10 15:56 ` Matt_Domsch [this message]
2002-06-11 7:55 ` j-nomura
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590701905661@msgid-missing \
--to=matt_domsch@dell.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox