From owner-freebsd-bugs Fri Jun 12 15:58:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07255 for freebsd-bugs-outgoing; Fri, 12 Jun 1998 15:58:42 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from k6n1.znh.org (dialup9.gaffaneys.com [208.155.161.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07241; Fri, 12 Jun 1998 15:58:37 -0700 (PDT) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by k6n1.znh.org (8.8.8/8.8.8) id RAA00732; Fri, 12 Jun 1998 17:56:34 -0500 (CDT) (envelope-from zach) Message-ID: <19980612175634.A452@znh.org.> Date: Fri, 12 Jun 1998 17:56:34 -0500 From: Zach Heilig To: Poul-Henning Kamp , Thomas David Rivers Cc: asami@FreeBSD.ORG, Zach Heilig , danny@panda.hilink.com.au, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6653 References: <199806121652.MAA01687@lakes.dignus.com> <4028.897676293@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <4028.897676293@critter.freebsd.dk>; from Poul-Henning Kamp on Fri, Jun 12, 1998 at 08:31:33PM +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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