[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] problems renaming on TOS fs



On Wed, 2009-12-02 at 19:47 +0000, Alan Hourihane wrote:
> On Wed, 2009-12-02 at 20:31 +0100, Vincent Rivière wrote:
> > Alan Hourihane a écrit :
> > > I can see this too, no Teradesk needed. It appears to be a real kernel
> > > TOSFS bug.
> > 
> > I made additional tests:
> > - the bug never happens in plain TOS
> > - renaming folders always fail in EmuTOS (probably unsupported).
> > 
> > I agree the bug seems to be in FreeMiNT's FATFS.
> > But how can the mv command rename the folder, while TeraDesk can't ?
> > Maybe a / versus \ issue ?
> 
> mv doesn't work here, and fails the same as teradesk. So I suspect your
> version of "mv" is using a different method like copy and delete, rather
> than rename. Or mine is doing that, vice versa. I'll check the code out
> anyway.

Found the problem, working a fix now.

Alan.