Hi,

I was checking out a bug reported on move (bugzilla 1787):

Problem -- Perform the following commands:
A:>mkdir d1
A:>mkdir d2
A:>chkdsk
   ==> chkdsk does not find any errors
A:>move d2 d1
A:>chkdsk
   ==> chkdsk responds:
     "The '..' entry in \D1\D2 is not pointing to the right directory."

It seems that the kernel upon renaming a directory does not adjust the ..
entry. This is only a problem when renaming directories to a different place
on the volume.

Now there can be two problems?

Either moving a directory between directories is allowed, in that case there
should be check added and the .. entry should be changed.

Or the move is not allowed and the kernel should indicate a wrong parameter
and return error (not corrupt the file system).

Maybe it is correct in the kernel and the file system is corrupted in MSDOS
also.

Can anybody check what move is doing in MSDOS?

Imre

--------------------------------------------------------------------------------
NEW: Tiscali ADSL LIGHT, 28,95 EUR/maand, het moment om de stap te zetten!

http://reg.tiscali.be/default.asp?lg=nl





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to