All of lore.kernel.org
 help / color / mirror / Atom feed
* How do I do a surface scan of a CDROM?
@ 2002-09-13  4:29 Alan Womack
  2002-09-13 11:24 ` Brian Bilbrey
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Womack @ 2002-09-13  4:29 UTC (permalink / raw)
  To: Majordomo leben.com

badblocks won't run because it's a read only medium.

I believe my kids have scratched the disk on a particular file, but I would like to run a full surface scan of the cd to see if it gets read sometimes, but not others.

Thanks
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How do I do a surface scan of a CDROM?
  2002-09-13  4:29 How do I do a surface scan of a CDROM? Alan Womack
@ 2002-09-13 11:24 ` Brian Bilbrey
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Bilbrey @ 2002-09-13 11:24 UTC (permalink / raw)
  To: linux-newbie

On Friday 13 September 2002 00:29, Alan Womack wrote:
> like to run a full surface scan of the cd to see if it gets read sometimes,
> but not others.

Well, how about using readcd, a dd-like tool for extracting disc images for 
copying purposes. It's a part of the cdrecord suite, and does extensive 
retries on errors. You *do* need to have your cd configured as a scsi device, 
but this works fine on my IDE burner (which appears as scsi due to 
hdc=ide-scsi in the boot string, and the correct options enabled in the 
kernel).

type man readcd for the details. There are examples of usage in the manpage.

Then you can just do a loopback mount of the image file (if readcd manages to 
read the disc effectively). To mount the file cd_image created above on the 
directory /cdrom, give the command:

mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom

HTH,

.brian

-- 
Brian Bilbrey - bilbrey@orbdesigns.com - http://www.OrbDesigns.com/
 Visit LinuxMuse - I^3 at http://www.LinuxMuse.com/ 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-13 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13  4:29 How do I do a surface scan of a CDROM? Alan Womack
2002-09-13 11:24 ` Brian Bilbrey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.