mks.jffs2 uid/gid for root inode
Artem Bityutskiy
dedekind1 at gmail.com
Tue Sep 7 04:02:12 EDT 2010
On Fri, 2010-09-03 at 14:12 +0200, Arno Steffen wrote:
> 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.
> From my point of view this is a bug, as it doesn't care about the real
> owner of this part of filetree.
> Or did I misused the -r option?
>
> I hope you can give me a comment or some feedback, how to change this behaviour.
Sounds like a bug. I'll take a look at this as soon as I have some time.
Or you can send a patch.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list