On Sun, 20 Aug 2006, Yura Pakhuchiy wrote:
> On Sun, 20 Aug 2006 at 04:11 +0300, Szakacsits Szabolcs wrote:
> > On Sun, 20 Aug 2006, Yura Pakhuchiy wrote:
> > >
> > > Really? You changed ntfs_delete in some strange way it stopped to work
> > > incorrectly.
> >
> > What do you mean it stopped working incorrectly? This was the fix for the
> > problem
> >
> > http://www.linux-ntfs.org/cvs/vc/ntfsprogs/libntfs/dir.c?r1=1.57&r2=1.58
> >
> > but it doesn't make mv work.
>
> It prevented corruption in which recursive directory structure created.
> In your version: 1) directories can disappear in one case 2) recursive
> directory structure created in another.
>
> Only 2) ever existed in ntfsmount; 1) appeared because of your changes.
Do you mean that the ntfs-3g introduced 1) and fixed 2)? I've never seen or
was reported problem 2).
Seemingly the behaviour changed from 2) to 1) and the above patch indeed
prevents 1) however it's not entirely correct because the ntfsmount error
message is
mv I386 i386
mv: cannot move `I386' to `i386/I386': No such file or directory
meanwhile the ntfs-3g driver would give
mv I386 i386
mv: cannot move `I386' to a subdirectory of itself, `I386/I386'
which is the same what one gets with native Linux filesystem and
considering the case insensitive nature of NTFS (I386 is the same as i386):
mv I386 I386
mv: cannot move `I386' to a subdirectory of itself, `I386/I386'
But I'd like to make this corner case to work as expected on Linux as well.
Failure is not an option ;)
Szaka
|