Re: reading from devices in RAW mode
Andrew Morton (akpm@digeo.com)
Sat, 18 Jan 2003 10:50:37 -0800
"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/