[PATCH] mkfs.ubifs: support --squash-uids

Artem Bityutskiy dedekind at infradead.org
Mon May 5 03:31:12 EDT 2008


On Fri, 2008-05-02 at 15:16 +1000, Hamish Moffatt wrote:
> mkfs.jffs2 and genext2fs both have a -U/--squash-uids switch which make
> them ignore the uid/gids in the directory and set them to 0:0 instead.
> 
> Here's my implementation for mkfs.ubifs.
> 
> Signed-off-by: Hamish Moffatt <hamish at cloud.net.au>
> 

Thanks for the patch. Before applying it, we'd like to know what do you
expect to happen if -U is used simultaneously with the device table
(-D). Should we use what device table says for directories which are
created because they are specified in the device table, or we should use
0 anyway? Or we should just prohibit simultaneous usage of -U and -D ?

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list