Re: reading from devices in RAW mode

From: Andrew Morton (akpm@digeo.com)
Date: Sat Jan 18 2003 - 13:50:37 EST


"Folkert van Heusden" <folkert@vanheusden.com> 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);

maybe?
-
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/



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