[android-developers] Re: Android ARM Direct SD Card I/O

2010-11-19 Thread meconin
I hope it can drop the cache files, and then read the data from sd card directly. I also tried echo 3 > /proc/sys/vm/drop_caches, but in vain Sincerely, Chris On 11月18日, 下午10時33分, TreKing wrote: > On Tue, Nov 16, 2010 at 3:47 AM, meconin wrote: > > I need to directly read/write a file on sd car

[android-developers] Re: Android ARM Direct SD Card I/O

2010-11-18 Thread webmonkey
Have you looked at fcntl ? @TreKing "without cache" means that the OS does not read the file into the cache to improve subsequent reading operations. Sometimes you don't want this. On Nov 18, 3:33 pm, TreKing wrote: > On Tue, Nov 16, 2010 at 3:47 AM, meconin wrote: > > I need to directly read/w