[PATCH 1/1] ubi: Allow ubiblock devices nodes to be created by volume name instead of volume ID.
richard at nod.at
Thu Apr 4 12:37:28 PDT 2019
Am Donnerstag, 4. April 2019, 17:29:16 CEST schrieb Patrick Doyle:
> Add support for CONFIG_MTD_UBI_BLOCK_BY_NAME, which enables ubi block
> devices to be named by their volume name: /dev/ubiblock%d_%s rather than
> their volume ID /dev/ubiblock%d_%d, so that one can mount e.g. a root
> filesystem by UBI name instead of volume ID. UBI volumes can be renamed
> on-the-fly in user space. This allows the root file system to be swapped
> from an "A" volume to a "B" volume without having to change the mount
Isn't this why we have udev, to create fancy by-id/by-path/... naming conventions?
More information about the linux-mtd