From: "Folkert van Heusden" <folkert@vanheusden.com>
To: <robw@optonline.net>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: reading from devices in RAW mode
Date: Sat, 18 Jan 2003 14:58:53 +0100 [thread overview]
Message-ID: <002f01c2bef9$be5682f0$3640a8c0@boemboem> (raw)
In-Reply-To: <1042896128.1157.4.camel@RobsPC.RobertWilkens.com>
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.
-----Oorspronkelijk bericht-----
Van: Rob Wilkens [mailto:robw@optonline.net]
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
(/dev/scd0, etc.).
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.
-Rob
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
> question:
> 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
> clueless.
> Anyone out there who can tell me how to do all of this? (or give me hints
on
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next parent reply other threads:[~2003-01-18 13:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1042896128.1157.4.camel@RobsPC.RobertWilkens.com>
2003-01-18 13:58 ` Folkert van Heusden [this message]
2003-01-19 21:03 Arnaud Boulan
[not found] <20030118132315.GF19381@louise.pinerecords.com>
2003-01-18 14:00 ` Folkert van Heusden
2003-01-18 14:30 ` John Bradford
2003-01-18 16:03 ` Folkert van Heusden
2003-01-18 16:15 ` John Bradford
2003-01-18 17:09 ` Folkert van Heusden
2003-01-18 17:33 ` John Bradford
-- strict thread matches above, loose matches on Subject: below --
2003-01-18 13:16 Folkert van Heusden
2003-01-18 18:50 ` Andrew Morton
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='002f01c2bef9$be5682f0$3640a8c0@boemboem' \
--to=folkert@vanheusden.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robw@optonline.net \
/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
Powered by JetHome