This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rm -rf -> Circular directory structure


Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> writes:

>I'm having a weird problem under NT 4.0 (I remember to
>have seen this with b17 and NT3.51 also):
>
>D:\>rm -rf somedir
>rm: WARNING: Circular directory structure.
>This almost certainly means that you have a corrupted file system.
>NOTIFY YOUR SYSTEM MANAGER.
>Cycle detected:
>somedir/FOO/FOO
>is the same file as
>somedir

This is because the algorithm that cygwin uses to compute inode numbers
just hashes the file name (or something like that) rather than
actually figuring out a properly unique number.  When you get a hash
collision, `rm' gets confused.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]