From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OLlQ7-0008IQ-HT for garchives@archives.gentoo.org; Mon, 07 Jun 2010 23:07:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29D6DE0AE9 for ; Mon, 7 Jun 2010 23:07:51 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 58401E0942 for ; Mon, 7 Jun 2010 22:46:23 +0000 (UTC) Received: by wyb35 with SMTP id 35so2857303wyb.40 for ; Mon, 07 Jun 2010 15:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=6BgG6A3HuVzO88FOosV4aKFFNy8qhHrhG7zN+wfzJnA=; b=S/4/zh4dS22ZrNqjZbMaKFh+MXsd/3eVM77v9+UosL8k8QbhLPTrvu3g+ryWDWC34p UGySVSQ2imMo9esSFIq16K/XOIAfj6oV0rexVsQaoLIiENkbMv5x/DsOud5ZmGxm+x91 Lb3Hu0iUcvPw3yc59bxuDEmh8MvvwiKZabDp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Ops/jzrWT/y3+sqJPlWrsiRj6Ak1tXIE7GRGpYOu7DtQUNBXvisdU8m4z5RxA3VvY0 d+9ZTjB9yrf/Lp25T678WtHSkI6sPP+nzxFZX0zV2jhk+aUwAbEFBJL6DKCOLgPESxWX INM6MqluVoCYlDtP22WuljWSfW0BH32x0lMoU= Received: by 10.216.172.194 with SMTP id t44mr2883309wel.54.1275950782791; Mon, 07 Jun 2010 15:46:22 -0700 (PDT) Received: from [192.168.1.2] (adsl-95-130-91.jan.bellsouth.net [98.95.130.91]) by mx.google.com with ESMTPS id d75sm1950022wek.8.2010.06.07.15.46.20 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Jun 2010 15:46:21 -0700 (PDT) Message-ID: <4C0D76BB.30800@gmail.com> Date: Mon, 07 Jun 2010 17:46:19 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100527 Gentoo/2.0.4-r1 SeaMonkey/2.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /var/tmp/portage not empty? References: <201006072054.45620.michaelkintzios@gmail.com> <4C0D5585.6020903@gmail.com> <201006072246.07095.michaelkintzios@gmail.com> In-Reply-To: <201006072246.07095.michaelkintzios@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 85a3e90b-f199-467d-8a78-4d00cf00a693 X-Archives-Hash: 9e336bdb548a3a22112071e3d09f2868 Mick wrote: > On Monday 07 June 2010 21:24:37 Dale wrote: > >> Mick wrote: >> >>> I am trying to clean up what seems like a remnant of a failed emerge, but >>> I can delete the directory in question: >>> >>> # rm -Rf /var/tmp/portage/sys-devel/gcc-4.4.3- >>> r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale >>> rm: cannot remove `/var/tmp/portage/sys-devel/gcc-4.4.3- >>> r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory >>> not empty >>> >>> Am I missing something simple here? Why can't I remove it? It seems >>> empty to me: >>> >>> # ls -la /var/tmp/portage/sys-devel/gcc-4.4.3- >>> r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale >>> total 1 >>> drwxr-xr-x 2 portage portage 3 May 28 07:48 . >>> drwxr-xr-x 3 portage portage 3 May 28 07:48 .. >>> >> I generally use rm -rfv when I delete something and do it as root as >> well. It is gone after that. I'm not sure what the difference is >> between R and r tho. I need to go check the man page I guess. ;-) >> >> Dale >> >> :-) :-) >> >> > -r, -R, --recursive > remove directories and their contents recursively > > I am getting worried now about fs corruption. The fs is supposed to be > checked at boot time .... > Since you were using the -f option, I would be to. Something odd somewhere. Could there be a lock file in there or something? I would think the -f option would over ride that to tho. Try to umount it and see if it complains about something. I would be in single user to do that tho. Just in case. Dale :-) :-)