From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 22:42:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3281616A4CE for ; Tue, 12 Apr 2005 22:42:56 +0000 (GMT) Received: from ms-smtp-03-eri0.socal.rr.com (ms-smtp-03-qfe0.socal.rr.com [66.75.162.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9C943D4C for ; Tue, 12 Apr 2005 22:42:56 +0000 (GMT) (envelope-from rmarella@gmail.com) Received: from [10.0.0.103] (cpe-66-8-191-104.hawaii.res.rr.com [66.8.191.104])j3CMgrgQ014920; Tue, 12 Apr 2005 15:42:53 -0700 (PDT) Message-ID: <425C4EEC.20609@gmail.com> Date: Tue, 12 Apr 2005 12:42:52 -1000 From: Robert Marella User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050411 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <425C4834.2090909@gmail.com> <20050412223327.GB71285@xor.obsecurity.org> In-Reply-To: <20050412223327.GB71285@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: Can't remove empty directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 22:42:56 -0000 Kris Kennaway wrote: >On Tue, Apr 12, 2005 at 12:14:12PM -1000, Robert Marella wrote: > > > >>drwxr-xr-x 3 root wheel 1024 Apr 12 10:06 . >>drwxr-xr-x 3 root wheel 512 Apr 12 10:06 .. >>drwxr--r-- 4 root wheel 0 Apr 12 09:51 gail >>p4# chflags -R noschg gail >>p4# rm -r gail >>rm: gail: Directory not empty >>p4# rm gail >>rm: gail: is a directory >>p4# rmdir gail >>rmdir: gail: Directory not empty >>p4# >> >>The obvious problem is that the number of links is incorrect but I don't >>know how to make that right. >> >>Any help is greatly appreciated. >> >> > >Unmount the filesystem and run fsck to repair the filesystem >corruption. > >Kris > > That's why you get paid the BIG BUCKS. Thank you very much Robert