mks.jffs2 uid/gid for root inode

Arno Steffen arno.steffen at googlemail.com
Fri Sep 3 08:12:54 EDT 2010


I use mkfs.jffs2 to generate a partition out of a directory tree (not
the hole root-filesystem).
It seem the owner of the root point of this directory tree is always
root:root, althouh it might have other owners.

Example

mkfs.jffs2 -lnp -e 0x20000 -r /opt/rootfs/opt -o /mnt/hgfs/share/fs_opt.jffs2

In my NFS-rootfs /opt/rootfs/opt is owned by user but flashing the
created jffs file will be mounted as owner root.


More information about the linux-mtd mailing list