output file cannot be in the UBIFS root directory check is not working quite well

kyak bas at bmail.ru
Mon Oct 8 11:13:58 EDT 2012


On Mon, 8 Oct 2012, Ricard Wanderlof wrote:

> Definitely. I see your point now. This must be a definite bug in in_path().
>
> One problem though is that when in_path() traverses the tree upwards, and 
> encounters a directory which it can't read it can't complete its job. On the 
> other hand, it shouldn't have to do that, it really only needs to see that 
> the output file is not below the top level of the input tree. Or am I missing 
> a case here?
>
Yes, it only needs to check if the output file is above the top level
of the input tree. But I guess it's not that easy - first things that come 
into my mind are symbolic links and mount --bind.



More information about the linux-mtd mailing list