From owner-freebsd-questions Mon Aug 31 07:33:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28620 for freebsd-questions-outgoing; Mon, 31 Aug 1998 07:33:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from enterprise.sanyusan.se (enterprise.sanyusan.se [195.24.160.51]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28610 for ; Mon, 31 Aug 1998 07:32:56 -0700 (PDT) (envelope-from anders@enterprise.sanyusan.se) Received: from localhost (anders@localhost) by enterprise.sanyusan.se (8.9.1/8.9.1) with SMTP id QAA29745; Mon, 31 Aug 1998 16:30:42 +0200 (CEST) (envelope-from anders@enterprise.sanyusan.se) Date: Mon, 31 Aug 1998 16:30:41 +0200 (CEST) From: Anders Andersson To: Mark cc: freebsd-questions@FreeBSD.ORG Subject: Re: rm dir, not empty? (fwd) In-Reply-To: <199808311343.IAA12314@offline.dct.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Aug 1998, Mark wrote: > Forwarded message: > > >On Mon, Aug 31, 1998 at 11:13:24AM +0200, Anders Andersson wrote: > > > > > >> [root@enterprise /usr/obj/usr/src/gnu/lib]# rm -rf libgmp/ > > >> rm: libgmp/: Directory not empty > > > > > >Try 'rm -rf libgmp' > > > > > > > rm -rf libgmp gives me the same error: > > > > [root@enterprise /usr/obj/usr/src/gnu/lib]# rm -rf libgmp > > rm: libgmp/: Directory not empty > > By any chance are you on an NFS mount? If you are, you may have a stale NFS > handle in the directory, something eqivalent ot .***NFS or something like it. > If you have that, telnet to the machine that the NFS mounts are being mounted > from, and delete the dotfile (stale NFS handle) Then you will be able to > remove the directory. Or, you could just remove the directory with "rm -rf" > on the machine serving the mounts as well... > No, I am not using NFS at all... The problem started after a kernel panic and reboot during a make world. I am using softupdates, 3.0-current // Anders > -- > Mark Maurer markm@dct.com mwmaurer@mtu.edu > Programmer, Digital Magic Interactive http://www.dminteractive.com > Senior, Michigan Technological University Houghton, MI > -- Views do not represent those of my employer or school > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message