linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* How to organize UBI volumes and power crash
@ 2018-10-02  7:42 "Мясоедов А.Ю."
  2018-10-02  8:41 ` Richard Weinberger
  0 siblings, 1 reply; 6+ messages in thread
From: "Мясоедов А.Ю." @ 2018-10-02  7:42 UTC (permalink / raw)
  To: linux-mtd

I use UBIFS at my device. I'd like 2 UBIFS volumes, first volume for 
work purposes, and second volume for logs omly. RootFS is in RAM.

Both volumes are R/W, but the first volume is not intended for permanent 
writing. The second volume is intended for permanent writing (logs and 
some data tables).

The second volume may be failured in casual power crash. But the first 
volume would work.

Will it be safe to have only 1 mfd device, and 2 UBI volume on the mtd 
device? Or I must to have 2 separate mtd devices with one UBI volume on 
each? The second approach is not suitable because of device tree 
modifications when I want to change volume sizes/

-- 
Andrey

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

end of thread, other threads:[~2018-10-02  9:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-02  7:42 How to organize UBI volumes and power crash "Мясоедов А.Ю."
2018-10-02  8:41 ` Richard Weinberger
2018-10-02  8:53   ` "Мясоедов А.Ю."
2018-10-02  8:56     ` Richard Weinberger
2018-10-02  9:13       ` "Мясоедов А.Ю."
2018-10-02  9:17         ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).