From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 15:34:04 2005 Return-Path: X-Original-To: questions@freebsd.org 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 B4B9216A41F for ; Tue, 23 Aug 2005 15:34:04 +0000 (GMT) (envelope-from dpk@dpk.net) Received: from shared10.hosting.flyingcroc.net (shared10.hosting.flyingcroc.net [207.246.149.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF36343D5E for ; Tue, 23 Aug 2005 15:34:01 +0000 (GMT) (envelope-from dpk@dpk.net) Received: from shared10.hosting.flyingcroc.net (localhost [127.0.0.1]) by shared10.hosting.flyingcroc.net (8.12.9p2/8.12.10) with ESMTP id j7NFY1rR005513; Tue, 23 Aug 2005 08:34:01 -0700 (PDT) Received: from localhost (dpk@localhost) by shared10.hosting.flyingcroc.net (8.12.9p2/8.12.10/Submit) with ESMTP id j7NFY0Dv005507; Tue, 23 Aug 2005 08:34:00 -0700 (PDT) X-Authentication-Warning: shared10.hosting.flyingcroc.net: dpk owned process doing -bs Date: Tue, 23 Aug 2005 08:34:00 -0700 (PDT) From: dpk X-X-Sender: dpk@shared10.hosting.flyingcroc.net To: Fafa Hafiz Krantz In-Reply-To: <20050823104057.A7FCA4BEAD@ws1-1.us4.outblaze.com> Message-ID: <20050823083301.B20562@shared10.hosting.flyingcroc.net> References: <20050823104057.A7FCA4BEAD@ws1-1.us4.outblaze.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: what is stuck here?! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 15:34:04 -0000 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.