To Anyone Who Can Help (TIA)
I have a few questions concerning QNX4 file integrity. We have developed a
on QNX4.25 w/Photon1.14 and are experiencing a few file problems. Our
system reads and
writes binary data configuration files and on occasion these files become
the directory bit gets set and the next time the software goes to access the
file it no longer exists.
We are using access() and stat() to determine file status because in our
system a data file may have
the same name as a directory. But the problem is that every file that has
changed into a directory
has not had the same name as any actual directory. Does anyone know of any
function that might
cause the directory bit to be set?
Another question I have deals with Fsys. We have turned off the async flag
and set the cache to
1M. MY question is does Fsys still cache writes? Also, does Fsys use Pipe,
if Pipe is running, to
write to disk Like many others I’ve read here on QDN we have a concern
about file integrity
when the power is interrupted, and in most cases we cannot install an UPS.
Thanks for any help.