umsdos

Albert D. Cahalan (acahalan@cs.uml.edu)
Fri, 11 Sep 1998 00:41:57 -0400 (EDT)


This was in the 2.1.121 patch:

+/* #Specification: weakness / hard link
+ * The strategy for hard link introduces a side effect that
+ * may or may not be acceptable. Here is the sequence
+ *
+ * #
+ * mkdir subdir1
+ * touch subdir1/file
+ * mkdir subdir2
+ * ln subdir1/file subdir2/file
+ * rm subdir1/file
+ * rmdir subdir1
+ * rmdir: subdir1: Directory not empty
+ * #
+ *
+ * This happen because there is an invisible file (--link) in
+ * subdir1 which is referenced by subdir2/file.
+ *
+ * Any idea ?

Coda and AFS just don't allow hard links across directories.
Cross-directory hard links break anyway across a mount point,
so they aren't commonly needed. The existing bug is a greater
problem than the loss of cross-directory hard links.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html