lkml.org 
[lkml]   [2007]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: O_DIRECT for FAT
Date
Hi Alan, Erik and Hirofumi and the rest,

I want to inform you of my success. So first of all thanks for your help!

Assuring, that the buffer is aligned according 4k (pagesize = getpagesize()
and multiple of sectorsize = blockdev --getss) using memalign or
posix_memalign, did the job. Thanks a lot. A very nice feature.

The compiler option -D_GNU_SOURCE helped also to avoid including asm-header of
fcntl.h.

bye
Hubi
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-05-17 16:29    [W:0.223 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site