From owner-freebsd-questions Mon Aug 31 06:45:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA21122 for freebsd-questions-outgoing; Mon, 31 Aug 1998 06:45:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from offline.dct.com (online.dct.com [204.29.185.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA21114 for ; Mon, 31 Aug 1998 06:44:57 -0700 (PDT) (envelope-from markm@offline.dct.com) Received: (from markm@localhost) by offline.dct.com (8.9.0.Beta5/8.8.8) id IAA12314 for freebsd-questions@freebsd.org; Mon, 31 Aug 1998 08:43:58 -0500 (CDT) From: Mark Message-Id: <199808311343.IAA12314@offline.dct.com> Subject: Re: rm dir, not empty? (fwd) To: freebsd-questions@FreeBSD.ORG Date: Mon, 31 Aug 1998 08:43:58 -0500 (CDT) X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... -- 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