From owner-freebsd-hackers Mon Jan 6 13:52:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA02386 for hackers-outgoing; Mon, 6 Jan 1997 13:52:49 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA02380 for ; Mon, 6 Jan 1997 13:52:46 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA17508; Mon, 6 Jan 1997 22:51:25 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA04864; Mon, 6 Jan 1997 22:51:24 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id WAA05222; Mon, 6 Jan 1997 22:26:21 +0100 (MET) Message-ID: Date: Mon, 6 Jan 1997 22:26:21 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: angio@aros.net (Dave Andersen) Cc: hackers@freebsd.org Subject: Re: NFS sillyrenamedir References: <199701061742.KAA04137@terra.aros.net> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701061742.KAA04137@terra.aros.net>; from Dave Andersen on Jan 6, 1997 10:42:34 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Dave Andersen wrote: > #ifndef DIAGNOSTIC > if (vp->v_type == VDIR) > panic("nfs: sillyrename dir"); > #endif > > I'm not very familiar with the FS code in FreeBSD. Is there > an easy fix for this ... revision 1.39 date: 1996/12/31 07:10:19; author: wpaul; state: Exp; lines: +3 -2 Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen if you do: % cd /nfsdir % mkdir -p foo/foo % mv foo/foo . See, it's already done. :) Send the beer to Bill Paul... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)