mtdblock: Advertise about UBI and UBI block
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] mtdblock: Advertise about UBI and UBI block
Hi Richard, and everyone else:
Browsing the internet for "JFFS2 mtd" results in tutorials, articles and github.gists0 that point to mtdblock.
In fact, even the MTD wiki mentions that JFFS2
needs mtdblock to mount a rootfs:
http://www.linux-mtd.infradead.org/faq/jffs2.html
Moreover, I suspect there may be lots of users
that still believe mtdblock is somehow needed to
mount SquashFS.
I've taken a verbose route and added a pr_warn warning if the devices are NAND. I don't think using NAND without UBI is too wise, and given the amount of outdated tutorials I believe some advertising will help.
These patches are compile-tested only, as I don't have devices ready to test, but I can undust some boards and do some experiments if you think it's needed.
Oh, and PS: We also need to update the wiki.
Ezequiel Garcia (3):
mtdblock: Update old JFFS2 mention in Kconfig
mtdblock: Add comment about UBI block devices
mtdblock: Warn if the added for a NAND device
drivers/mtd/Kconfig | 10 ++++++---- drivers/mtd/mtdblock.c | 4 ++++ drivers/mtd/mtdblock_ro.c | 4 ++++ 3 files changed, 14 insertions(+), 4 deletions(-)
Signature · 1 line
2.32.0