[RFC PATCH 0/4] mtd: ubi: Enable accessing RO filesystems in UBI vols

Sam Edwards cfsworks at gmail.com
Thu Sep 7 23:46:09 CEST 2023


Hi Heiko and Simon,

Thought I'd follow-up to keep this discussion going. The main thing I 
would like to decide first (as it lets me start relying on it in boot 
scripts) would be the UBI access syntax:

=> ls ubi 0:rootfs /boot
=> ls ubi 0:2 /boot

Do those look good? Should I be trying to mimic the accepted syntax of 
fs/ubifs/super.c:open_ubi()? Perhaps "ubi 0!rootfs" and/or "ubi 0_2"? 
Not using ':' leaves open the possibility for logical volumes (LVM2/UBI) 
to contain partitions - not that I expect anyone will want that. :)

Cheers,
Sam


More information about the U-Boot mailing list