[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070515122819.GK26683@gateway.home>
Date: Tue, 15 May 2007 14:28:19 +0200
From: Erik Mouw <mouw@...linux.org>
To: Hubertus Grobbel <hubertus@...bbel.net>
Cc: Linux List <linux-kernel@...r.kernel.org>
Subject: Re: O_DIRECT for FAT
On Tue, May 15, 2007 at 01:02:51AM +0100, Hubertus Grobbel wrote:
> I found out, that the option O_DIRECT for opening a file on a fat-
> filesystem successfully completes. But reading and writing to that
> file leads to EINVAL errors (using kernel 2.6.18).
Make sure your buffer is page aligned and read/write in multiples of
the hard block size (use blockdev --getss to figure out).
Erik
--
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists