[635] in arla-drinkers

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Love)
Thu Feb 25 12:04:20 1999

From owner-arla-drinkers@stacken.kth.se Thu Feb 25 17:04:20 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 22514 invoked from network); 25 Feb 1999 17:04:19 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 25 Feb 1999 17:04:19 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id RAA22605
	for arla-drinkers-list; Thu, 25 Feb 1999 17:58:22 +0100 (MET)
Received: from elixir.e.kth.se (1073744992@elixir.e.kth.se [130.237.48.5])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id RAA22599
	for <arla-drinkers@stacken.kth.se>; Thu, 25 Feb 1999 17:58:15 +0100 (MET)
Received: from hummel.e.kth.se (hummel.e.kth.se [130.237.43.135])
	by elixir.e.kth.se (8.9.2/8.9.2) with ESMTP id RAA04971;
	Thu, 25 Feb 1999 17:58:14 +0100 (MET)
Received: (from lha@localhost)
	by hummel.e.kth.se (8.9.2/8.9.2) id RAA28378;
	Thu, 25 Feb 1999 17:58:12 +0100 (MET)
From: Love <lha@stacken.kth.se>
To: Robert Watson <robert@cyrus.watson.org>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: FreeBSD 4.0: create a directory, then move another directory into it
References: <Pine.BSF.3.96.990224201034.29480A-100000@fledge.watson.org>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Feb 1999 17:58:09 +0100
In-Reply-To: Robert Watson's message of Wed, 24 Feb 1999 20:17:12 -0500 (EST)
Message-ID: <amk8x6ctem.fsf@hummel.e.kth.se>
Lines: 29
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Robert Watson <robert@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,

home help back first fref pref prev next nref lref last post