Date: Mon, 19 May 2008 15:17:34 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Norikatsu Shigemura" <nork@freebsd.org> Cc: freebsd-gnome@freebsd.org, Jonathan Chen <jonc@chen.org.nz> Subject: Re: gvfs-* directories in /var/tmp Message-ID: <op.ube3zkqc9aq2h7@mezz.mezzweb.com> In-Reply-To: <20080520024031.d3c5c24c.nork@FreeBSD.org> References: <20080518225904.GA61569@osiris.chen.org.nz> <op.ubdkssa49aq2h7@mezz.mezzweb.com> <20080520024031.d3c5c24c.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 May 2008 12:40:31 -0500, Norikatsu Shigemura <nork@FreeBSD.or= g> = wrote: > On Sun, 18 May 2008 19:25:30 -0500 > "Jeremy Messenger" <mezz7@cox.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ube3zkqc9aq2h7>