Re: Cannot mount UBIFS volume rootfs to RO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, the kernel boot and mount the root to RO:

[    5.465303] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2,
name "rootfs-volume", R/O mode
[    5.517493] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.

Does the UBIFS have some hard wired to reverse the kernel mount back
to rw? Could it be some bugs in UBIFS or could I be missing something?

root# mount
ubi0:rootfs-volume on / type ubifs (rw,relatime,assert=read-only,ubi=0,vol=2)

Thank you.

Kind regards,

- jh

On 2/17/20, JH <jupiter.hce@xxxxxxxxx> wrote:
> Hi,
>
> I passed the root=ubi0:rootfs-volume ro ubi.mtd=2,2048 noinitrd
> rootfstype=ubifs mem=256M rootwait=1 to kernel command line, but the
> rootfs was still mounted as rw, can UBIFS volume rootfs support ro? Or
> what could be missing here?
>
> root# mount
> ubi0:rootfs-volume on / type ubifs
> (rw,relatime,assert=read-only,ubi=0,vol=2)
>
> Thank you.
>
> Kind regards,
>
> - jh
>

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux