[PATCH] UBI: Add ro-mode sysfs attribute
Richard Weinberger
richard at nod.at
Thu Apr 28 11:30:59 PDT 2016
Am 28.04.2016 um 20:28 schrieb Ezequiel Garcia:
> On certain situations, UBI may detect serious device corruption,
> and switch to read-only mode to protect the data and allow debugging.
> This commit exposes this ro-mode on sysfs, so it can be obtained
> by userspace tools.
>
> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Makes sense. Please also document the new attribute in
Documentation/ABI/stable/sysfs-class-ubi,
Thanks,
//richard
More information about the linux-mtd
mailing list