[PATCH v3 01/10] ubi: Expose mean erase counter in sysfs
Richard Weinberger
richard at nod.at
Thu Nov 14 10:50:21 PST 2024
----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1 at huawei.com>
> An: "richard" <richard at nod.at>, "Rickard X Andersson" <rickard.andersson at axis.com>
> CC: "linux-mtd" <linux-mtd at lists.infradead.org>, "rickard314 andersson" <rickard314.andersson at gmail.com>, "kernel"
> <kernel at axis.com>
> Gesendet: Donnerstag, 7. November 2024 02:39:45
> Betreff: Re: [PATCH v3 01/10] ubi: Expose mean erase counter in sysfs
> 在 2024/11/7 4:34, Richard Weinberger 写道:
>> ----- Ursprüngliche Mail -----
>>> Von: "Rickard X Andersson" <rickard.andersson at axis.com>
>>> There exists more detailed info in debugfs, but this information is
>>> only available for debug builds.
>>
>> If the detailed info is useful for regular userspace we can also think
>> of adding a non-debugfs interface for it.
>> E.g. an ioctl() that returns this data in binary form.
>
> This method sounds better.
Rickard, what do you think about this option?
Thanks,
//richard
More information about the linux-mtd
mailing list