Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 08:34:00 -0700 (PDT)
From:      dpk <dpk@dpk.net>
To:        Fafa Hafiz Krantz <fteg@london.com>
Cc:        questions@freebsd.org
Subject:   Re: what is stuck here?!
Message-ID:  <20050823083301.B20562@shared10.hosting.flyingcroc.net>
In-Reply-To: <20050823104057.A7FCA4BEAD@ws1-1.us4.outblaze.com>
References:  <20050823104057.A7FCA4BEAD@ws1-1.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Aug 2005, Fafa Hafiz Krantz wrote:

>
> hello!
>
> how come *nothing* happens when i rm -rf directory/?
> it just won't move ...
>
> top from another terminal tells me:
> 55272 root     116    0 14396K 13768K RUN      0:27 36.13% 35.40% rm
>
> what? the directory/ only contains a .maildir/, a .muttrc and an empty directory
> it's not an immutable flag that has been set,
> chflags -R nouchg directory/ stands equally still to rm -rf

It's probably busy calculating the list of directory entries to remove. If
you have /proc mounted try:

truss -p 55272

to see what it is doing. If you don't, and you have KTRACE in your kernel,
you can try:

ktrace -i -d -p 55272
kdump -l

to monitor the process.



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