Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* UBIFS data integrity
@ 2014-01-14  2:51 rcrb rcrb
  2014-01-14  9:32 ` Mats Kärrman
  0 siblings, 1 reply; 8+ messages in thread
From: rcrb rcrb @ 2014-01-14  2:51 UTC (permalink / raw)
  To: linux-mtd

Hello,

I have a question concerning data integrity of UBIFS.
I am considering using a database over UBIFS on my embedded device.
The database file is approximately 1 MiB. I wonder if I can rely on
the filesystem to be sure than this file will never have a corruption,
even in case of power cut during update. Will the filesystem guarantee
that, after reboot, the file will be either in the pre-update state or
be correctly updated ?

I am asking this because I read that UBIFS can have partially updated
files in case of power-cut during creation of a new file, and I am
wondering if it is the same for already existing files.

Best regards,

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-17  9:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14  2:51 UBIFS data integrity rcrb rcrb
2014-01-14  9:32 ` Mats Kärrman
2014-01-15 18:31   ` rcrb rcrb
2014-01-16  8:00     ` Artem Bityutskiy
2014-01-16  8:16       ` Artem Bityutskiy
2014-01-16  9:12         ` Mats Kärrman
2014-01-16  9:26           ` Artem Bityutskiy
2014-01-17  9:21             ` Gupta, Pekon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox