FreeBSD 4.0: create a directory, then move another directory into it

Love lha at stacken.kth.se
Thu Feb 25 17:58:22 CET 1999


Robert Watson <robert at cyrus.watson.org> writes:

> % mkdir class
> % cd class
> % mv ../15740 .				# 15740 is a directory
> % ls 15740
> ls: 15740: No such file or directory

Guess the patch below will do it, have not tried it yet, still rebuilding
my world. Try it out and let me know.

Love

Index: messages.c
===================================================================
RCS file: /usr/local/cvsroot/arla/arlad/messages.c,v
retrieving revision 1.118
diff -u -w -r1.118 messages.c
--- messages.c  1999/02/22 01:42:53     1.118
+++ messages.c  1999/02/25 16:57:29
@@ -1450,7 +1450,7 @@
             ret = res.error;
             goto out;
         }
-        msg2.flag = 0;
+        msg2.flag = XFS_INVALID_DNLC;
         msg2.node.tokens = res.tokens;
 
         fcacheentry2xfsnode (new_parent_fid,





More information about the Arla-drinkers mailing list