Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 17:56:34 -0500
From:      Zach Heilig <zach@gaffaneys.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Thomas David Rivers <rivers@dignus.com>
Cc:        asami@FreeBSD.ORG, Zach Heilig <zach@gaffaneys.com>, danny@panda.hilink.com.au, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/6653
Message-ID:  <19980612175634.A452@znh.org.>
In-Reply-To: <4028.897676293@critter.freebsd.dk>; from Poul-Henning Kamp on Fri, Jun 12, 1998 at 08:31:33PM %2B0200
References:  <199806121652.MAA01687@lakes.dignus.com> <4028.897676293@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 12, 1998 at 08:31:33PM +0200, Poul-Henning Kamp wrote:
> >Umm....  if the goal is to remove _everything_ from /var/run;
> >what's wrong with:

> > cd /var/run
> > rm -r -f *

> It may fail if there is too many files for the * to expand.

There has to be LOTS of files, since this has worked for me in the past:

rm -f /usr/share/man/cat?/*

I wonder why the nifty trick of:

rm -rf /var/run/.

which used to clear a directory, quit working.

-- 
Zach Heilig -- zach@gaffaneys.com
Real Programs don't use shared text.  Otherwise, how can they use
functions for scratch space after they are finished calling them?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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