I should clarify my question: I do not really mean reading RAW from
the device, but I want to read RAW like how its on this, without any
error-checking or anything.
Like the "CDROMREADRAW"-ioctl for CD-ROMs.
Van: Rob Wilkens [mailto:firstname.lastname@example.org]
Verzonden: zaterdag 18 januari 2003 14:22
Aan: Folkert van Heusden
Onderwerp: Re: reading from devices in RAW mode
Just an idea, but try openning "/dev/fd0" for example -as the floppy-
directly, then "lseek"ing around and reading/writing as necessary.
Same should work for ide (open /dev/hda, or /dev/hdb, etc.) or scsi
As per where the useful information is stored on the disk, you'll have
to study filesystem code, and there I couldn't help you.
On Sat, 2003-01-18 at 08:16, Folkert van Heusden wrote:
> Maybe I should've sticked to google (altough it wasn't to helpfull this
> time) but
> in this mailinglist there are a lot of knowledgeable people, so here's my
> for my data-recovery tool I like to read sectors from devices in RAW mode.
> found how to do that for cd-rom, but ide/scsi/floppy still leave me
> Anyone out there who can tell me how to do all of this? (or give me hints
> where to find information that google hides from me)
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to email@example.com
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:19 EST