UBI attach, UBIFS mount and blocks writing
Richard Weinberger
richard.weinberger at gmail.com
Thu Nov 21 18:29:23 EST 2013
On Thu, Nov 21, 2013 at 6:33 PM, Fernando Silveira <fsilveira at gmail.com> wrote:
> Hi,
>
> Does a simple UBI attach procedure (e.g. "ubi.mtd=root" at the Linux
> cmdline or "ubiattach -m 1") writes something to the flash? What about
> a simple read-write mount of a UBIFS partition?
>
> I'm worried about it because my flash has a VERY low limit for
> erasing/writing blocks and I'd like to avoid passing read-only
> arguments to the "mtdparts" parameter (e.g.
> "mtdparts=mynand:8m(boot),-(root)ro") and base only whether I write to
> a UBI device or write files to UBIFS partitions in read-write mode.
UBI does wear-leveling, it tests block and replaces them.
UBIFS has for example a journal, which has to be processed at mount time.
The short answer is yes, both can issue writes.
--
Thanks,
//richard
More information about the linux-mtd
mailing list