From owner-freebsd-gnome@FreeBSD.ORG Mon May 19 20:15:26 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52E411065674 for ; Mon, 19 May 2008 20:15:26 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id CAB348FC15 for ; Mon, 19 May 2008 20:15:25 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao106.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080519201524.CHUN10620.eastrmmtao106.cox.net@eastrmimpo02.cox.net>; Mon, 19 May 2008 16:15:24 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id TYFP1Z00F4iy4EG02YFPBr; Mon, 19 May 2008 16:15:24 -0400 Date: Mon, 19 May 2008 15:17:34 -0500 To: "Norikatsu Shigemura" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080518225904.GA61569@osiris.chen.org.nz> <20080520024031.d3c5c24c.nork@FreeBSD.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20080520024031.d3c5c24c.nork@FreeBSD.org> User-Agent: Opera Mail/9.27 (Linux) Cc: freebsd-gnome@freebsd.org, Jonathan Chen Subject: Re: gvfs-* directories in /var/tmp X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 20:15:26 -0000 On Mon, 19 May 2008 12:40:31 -0500, Norikatsu Shigemura = wrote: > On Sun, 18 May 2008 19:25:30 -0500 > "Jeremy Messenger" wrote: >> > Did I miss something in my installation of GNOME? >> You didn't miss anything. I have a lot of that gvfs-* in /var/tmp too= = >> and >> clean out once a while. I was to ask about it in past, but I forgot t= o = >> do >> it. > > I'm using attached rcNG script, and every-reboot, I try to > remove these directories like gvfs-*-*. Thanks, I have modified a bit like this below. I prefer it to check if = stuff exist before use the 'rm'. ------------------------------------ local tmpd=3D"/var/tmp/Tracker-*.* /var/tmp/gconfd-* /var/tmp/instmp.* = \ /var/tmp/keyring-* /var/tmp/mapping-* /var/tmp/orbit-* \ /var/tmp/portupgrade* /var/tmp/virtual-*.* \ /var/tmp/gvfs-*-*" local tmpf=3D"/var/tmp/dbus-* /var/tmp/gnome-system-monitor.*.*" if checkyesno ${rcvar1}; then echo "Clearing ${tmpd} ${tmpf}." for d in ${tmpd}; do if [ -d $d ]; then rm -rf $d fi done for f in ${tmpf}; do if [ -f $f ]; then rm -f $f fi done fi ------------------------------------ I don't know which is file or directory for Tracker, instmp, mapping and= = portupgrade as I don't have those. I haven't test the change yet, but it= = should work and I will find out when I reboot in someday. ;-) Cheers, Mezz -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org