JFFS2 bind mount bug ?

Zhihao Cheng chengzhihao1 at huawei.com
Wed Oct 18 19:18:47 PDT 2023


在 2023/10/18 22:06, Joakim Tjernlund 写道:
> Got two JFFS2 partitions (on / and /var) and do
>    PWROOT=/var/os
>    mount --bind "${PWROOT}"/etc/shadow /etc/shadow
> then I modify "${PWROOT}"/etc/shadow and expect both "${PWROOT}"/etc/shadow /etc/shadow to
> be equal but the /etc/shadow is unchanged!
> Kernel here is 5.15.129
> 


Isn't '/etc/shadow' a regular file? Was mounting successful?




More information about the linux-mtd mailing list