Re: O_DIRECT alignment requirements ?

Joel Becker (Joel.Becker@oracle.com)
Wed, 9 Apr 2003 16:27:15 -0700


On Wed, Apr 09, 2003 at 11:09:23PM +0200, Rob van Nieuwkerk wrote:
> But a friend of mine uses O_DIRECT with 2.4 kernels to read *individual*
> single harddisk sectors of 512 bytes ! He claims that my original
> theory is the right one and that you can read 512 byte chunks on 512
> byte bounderies (he uses the complete device eg. /dev/hda).

Well, how does your friend access /dev/hda? Is he using raw
devices?

Joel

-- 

"What do you take me for, an idiot?" - General Charles de Gaulle, when a journalist asked him if he was happy.

Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: joel.becker@oracle.com Phone: (650) 506-8127 - 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/