ホーム
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

ffs3 crc check facility
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: ffs3 crc check
  • SDP: 6.3.0 SP2
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

The FFSv3 filesystem (devf) does not have a CRC feature. We use different methods to ensure that the data is written correctly. If you are doing a large update to a file when power is lost, it's possible the file will become inconsistent (only partially updated).
The filesystem will still be "correct" and mountable but the file contents will be wrong. We make no promise regarding user data, only that the filesystem remains sane.

If you want to ensure that the entire file is updated atomically, then you will have to write all the changes to a temporary file, and then rename the temporary file on top of the original. That way it can be guaranteed to have either completely the old file or completely the new file.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.