Date: Tue, 1 Sep 1998 10:44:41 -0500 From: keyser@clio.rice.edu (Kevin Keyser) To: anders@sanyusan.se Cc: questions@FreeBSD.ORG Subject: Re: rm dir, not empty? Message-ID: <9809011544.AA12093@clio.rice.edu>
next in thread | raw e-mail | index | archive | help
> I am trying to remove a dir but rm claims it is not empty: > > ls gives: > > [root@enterprise /usr/obj/usr/src/gnu/lib/libgmp]# ls -la > total 2 > drwxr-xr-x 1 root bin 1024 31 Aug 09:06 ./ ^^^ This is odd. libgmp and libgmp/. should both be referencing the same inode, giving a link count of 2. It would be interesting to see the output of "ls -ldi libgmp libgmp/." run from /usr/obj/usr/src/gnu/lib Have you run fsck on this fs since your kernel panic? > Anders Andersson > > --------------------------------------------------------- > Anders Andersson anders@sanyusan.se > > Sanyusan International AB http://www.sanyusan.se/ > Vdstgvtagatan 11 Tel: +46-(0)31-168730 > 411 39 Gothenburg Fax: +46-(0)31-209361 > Sweden > --------------------------------------------------------- Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9809011544.AA12093>