Re: reading from devices in RAW mode

From: John Bradford (
Date: Sat Jan 18 2003 - 09:30:20 EST

> Is it such a newby question? Your suggestion of using dd is totally NOT
> what I meant: I want to read from devices with the devices ignoring their
> CRC-checks and such. Like what the CDROMREADRAW ioctl does for CD-ROMs.

CD-ROMs, floppy disks, and hard disks work in completely different

All modern forms of storage use powerful error correction below the
sector level. Floppies are the exception here, they typically use MFM
encoding, which is relatively straightforward.

Audio Compact discs use powerful error correction anyway, but CD-ROMs
use some of the capacity which was previously used for audio data for
a second level of error correction, so there are two sector sizes,
(RAW, and COOKED). Reading RAW sectors, does not come close to
allowing you to read individual pits and flats on the disc, it just
lets you bypass the top level of error correction. The data is still
being error corrected by lower layers.

There is no floppy or hard disk equivillent to reading raw sectors
from CD-ROMs.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:19 EST