dbTalk Databases Forums  

QNX fsync problem

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss QNX fsync problem in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jon Fullerton
 
Posts: n/a

Default QNX fsync problem - 04-27-2004 , 11:10 AM






When I execute Berkeley DB on QNX 6.2, I get a message in my debug
window that fsync is not implemented. I've also tested with just a
short program with no DB and get the same result when I call fsync.

Is there a solution to this problem?

Thanks

Reply With Quote
  #2  
Old   
Susan LoVerso
 
Posts: n/a

Default Re: QNX fsync problem - 05-03-2004 , 12:06 PM






jon.fullerton (AT) comcast (DOT) net (Jon Fullerton) wrote in message news:<9a138421.0404270810.287c9949 (AT) posting (DOT) google.com>...
Quote:
When I execute Berkeley DB on QNX 6.2, I get a message in my debug
window that fsync is not implemented. I've also tested with just a
short program with no DB and get the same result when I call fsync.

Is there a solution to this problem?
While you've clearly shown this has nothing to do with DB, it appears you
don't have your C library installed or in your path or whatever. According to
my QNX docs, fsync is in libc on QNX, as you'd expect.

Sue LoVerso
sue (AT) sleepycat (DOT) com


Reply With Quote
  #3  
Old   
Jon Fullerton
 
Posts: n/a

Default Re: QNX fsync problem - 05-05-2004 , 10:51 AM



suenews (AT) schooner (DOT) com (Susan LoVerso) wrote in message news:<27127820.0405030906.56cd0d6d (AT) posting (DOT) google.com>...
Quote:
jon.fullerton (AT) comcast (DOT) net (Jon Fullerton) wrote in message news:<9a138421.0404270810.287c9949 (AT) posting (DOT) google.com>...
When I execute Berkeley DB on QNX 6.2, I get a message in my debug
window that fsync is not implemented. I've also tested with just a
short program with no DB and get the same result when I call fsync.

Is there a solution to this problem?

While you've clearly shown this has nothing to do with DB, it appears you
don't have your C library installed or in your path or whatever. According to
my QNX docs, fsync is in libc on QNX, as you'd expect.

Sue LoVerso
sue (AT) sleepycat (DOT) com
I discovered yesterday that the problem appears to be caused by trying
to create the database file in a RAM file system. When I try to
create the db file in a Flash file system, the fsync problem goes
away, although I'm still having trouble opening the file if it is not
present even though I'm using the DB_CREATE flag.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.