Re: Cannot mount UBIFS volume rootfs to RO

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

 



On Sun, Feb 16, 2020 at 11:51 PM JH <jupiter.hce@xxxxxxxxx> wrote:
>
> 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)

I'm pretty sure your init (systemd) remounts UBIFS back to RW.
Of course you can mount UBIFS read-only.

-- 
Thanks,
//richard

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



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

  Powered by Linux