From owner-freebsd-bugs Fri Jun 12 13:04:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00663 for freebsd-bugs-outgoing; Fri, 12 Jun 1998 13:04:41 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00605; Fri, 12 Jun 1998 13:04:20 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id QAA18339; Fri, 12 Jun 1998 16:03:59 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.5/8.8.5) with ESMTP id PAA15549; Fri, 12 Jun 1998 15:46:38 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.7/8.6.9) id PAA02665; Fri, 12 Jun 1998 15:15:16 -0400 (EDT) Date: Fri, 12 Jun 1998 15:15:16 -0400 (EDT) From: Thomas David Rivers Message-Id: <199806121915.PAA02665@lakes.dignus.com> To: phk@critter.freebsd.dk, rivers@dignus.com Subject: Re: bin/6653 Cc: asami@FreeBSD.ORG, danny@panda.hilink.com.au, freebsd-bugs@FreeBSD.ORG, zach@gaffaneys.com Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > In message <199806121652.MAA01687@lakes.dignus.com>, Thomas David Rivers writes > : > >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. Hmmm... good point. How about: cd /var/run cd .. rm -r -f run mkdir run chmod run chown run chgrp run (the 'cd /var/run' and 'cd ..' are attempts to handle a symlink'd run directory...) - Dave R. - > > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message