Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2005 16:39:48 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        "K.C.Huang-MLC" <panda@mlc.edu.tw>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: rm: Directory not empty ..(had tried chflag ...)
Message-ID:  <20051206163948.GA83751@walton.maths.tcd.ie>
In-Reply-To: <000601c5fa56$3bcd2a00$61a313a3@jhlh>
References:  <000601c5fa56$3bcd2a00$61a313a3@jhlh>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 06, 2005 at 07:14:26PM +0800, K.C.Huang-MLC wrote:
> Dear All:
>   I running fsck -y to a device, and I delete some files in the same time .
>   I found there were some files could'nt be delete..
> 
>   message:
>       rm: old_files: Directory not empty
> 
>   I had tried 
>      chflags -R noschg  old_files
>      rm -rf old_files

Did you run fsck until the filesystem is clean? If not try running fsck
from single user mode a few more times.

Another possibility is that this can sometimes happen with softupdates
with fsck running in the background. If you wait for fsck to finish
running in the background, then the problem should go away (this has
been fixed in more recent FreeBSD releases).

	David.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051206163948.GA83751>