Re: reading from devices in RAW mode

From: Andrew Morton (
Date: Sat Jan 18 2003 - 13:50:37 EST

"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.

        open("/dev/fd0", O_RDONLY|O_LARGEFILE|O_DIRECT);

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