Linux 2.6.9 and the media is Nand Flash memory. /dir1/dir2/dir3
/dir1/dir2 is readonly (cramfs) dir3 is read write (Flash mem). and I'm creating the database in dir3. Somehow I don't have a problem in a tmpfs. The strace showed no diff between tmpfs and this directory where it is giving I/O error. Thanks On 5/22/07, Joe Wilson <[EMAIL PROTECTED]> wrote:
What is the OS you're using and what kind of media is it? Hard drive or USB key or ??? --- Shilpa Sheoran <[EMAIL PROTECTED]> wrote: > It seems that rc = fsync(fd); is failing in function > static int full_fsync(int fd, int fullSync, int dataOnly) in file os_unix.c > { > #else /* if !defined(F_FULLSYNC) */ > if( dataOnly ){ > rc = fdatasync(fd); > }else{ > > //*********************this call is failing******************** > rc = fsync(fd); > } > > } > > using -DSQLITE_NO_SYNC in the Makefile works > What is the way out for this problem? > What happens if we use this option -DSQLITE_NO_SYNC ? ____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------
----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------