Re: [Yaffs] mv problem

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Charles Manning
Datum:  
To: Sergey Kubushyn
CC: Timofei V. Bondarenko, yaffs
Betreff: Re: [Yaffs] mv problem
Please try the latest yaffs_fs.c

http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/yaffs_fs.c?r1=1.30&r2=1.31

On Wednesday 21 September 2005 13:07, Charles Manning wrote:
> Thanx for the stack trace Sergey. We can only work on technical
> information, not emotions.
>
> Yes, I was able to reproduce the problem and am trying out a fix. Hopefully
> something in CVS in the next short while.
>
> The problem is due to the check for existing target not being done the same
> with the "rename over" functionality. That means a rename over works, but
> a regular one does not. ie.
>
> # ls >xx
> # ls >yy
> rm zz
> # mv xx yy     <-- works since yy exists
> # mv yy zz     <-- breaks because zz does not.