[RFC] mtd-utils: integck: add support for volume specific power-cut test

Mats Kärrman Mats.Karrman at tritech.se
Mon Aug 19 11:37:29 EDT 2013


On Mon, 2013-08-19 at 15:16 +0000, Artem Bityutskiy wrote:
> OK, but there is also an "fstype" field, could you use and do the trick
> only for UBIFS?

I guess so, but there is also an alternative mounting syntax:

# mount -t ubifs ubi0:integ_chk /mnt/ubifs

resulting in a /proc/mounts line of:

ubi0:integ_chk /mnt/ubifs ubifs rw,relatime 0 0

Do you see an easy way to resolve this into ubi0_0 or should this case
also be ignored?
Personally I have never seen the use of multiple ubi volumes inside of
one mtd partition so "0" could be assumed but someone else might
disagree.

BR // Mats



More information about the linux-mtd mailing list