]> git.baikalelectronics.ru Git - kernel.git/commit
mtdblock: Add comment about UBI block devices
authorEzequiel Garcia <ezequiel@collabora.com>
Sun, 1 Aug 2021 23:45:08 +0000 (20:45 -0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 6 Aug 2021 20:05:13 +0000 (22:05 +0200)
commit0a9cec266a64d7ccf50f23959c9216a825f58d4b
treef126ae093ba23abad181291c143f2a0eda978b04
parentc58cb2b9b43cb91f05769daf6f82f5d94cdf92e0
mtdblock: Add comment about UBI block devices

There is a surprisingly large number of tutorials
that suggest using mtdblock to mount SquashFS filesystems
on flash devices, including NAND devices.

Given this approach is suboptimal than using UBI, and given
the UBI block device layer was introduced many years ago
specifically with this use case in mind, add a small
comment inviting users and developers to consider UBI block.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210801234509.18774-7-ezequiel@collabora.com
drivers/mtd/Kconfig