mks.jffs2 uid/gid for root inode

Arno Steffen arno.steffen at googlemail.com
Thu Sep 9 02:17:29 EDT 2010


2010/9/7 Artem Bityutskiy <dedekind1 at gmail.com>:
> 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 (Артём Битюцкий)

Thanks, thought already nobody is interested in this. Regarding a
patch: I did look at the code, but my knowledge about the details is
to less.



More information about the linux-mtd mailing list