I have UBIFS device /dev/ubi0_1. The device is root for linux rootfs, mounted on kernel boot as Read-Only.
So i have /dev/ubi0_1 mounted on / as RO.
Later i want to mount /dev/ubi0_1 on /mnt/rootfs as R/W by command:
mount -t ubifs -o rw /dev/ubi0_1 /mnt/rootfs
but it fails with EBUSY.
This command:
mount -t ubifs -o ro /dev/ubi0_1 /mnt/rootfs
is successful.
So it looks like there must be same rights on both mountpoints.
I tried remounting but always rights (RO or RW) propagate automatically between separate mountpoints.
My question is whether there is possibility to mount / as RO and /mnt/rootfs as R/W.