[Yaffs] sqlite3 device capabilities

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: johan@teenageengineering.com
Date:  
To: yaffs
Subject: [Yaffs] sqlite3 device capabilities
Hi!
I am configuring yaffs as a virtual file system for sqlite3. I just
want to confirm that the capability information I pass to sqlite3 is
correct.
SQLITE_IOCAP_ATOMIC - all writes of any size are atomic.
SQLITE_IOCAP_SAFE_APPEND - when data is appended to a file, the data
is appended first then the size of the file is extended, never the
other way around.
SQLITE_IOCAP_SEQUENTIAL - information is written to disk in the same
order as calls to write().
I assume I have these capabilities for free with a journalling file
system?
Thanks,
Johan