From owner-freebsd-bugs Tue May 19 03:44:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12720 for freebsd-bugs-outgoing; Tue, 19 May 1998 03:44:44 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12706; Tue, 19 May 1998 03:44:38 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id MAA00682; Tue, 19 May 1998 12:43:25 +0200 (CEST) To: "Daniel O'Callaghan" cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/6653 In-reply-to: Your message of "Tue, 19 May 1998 20:36:10 +1000." Date: Tue, 19 May 1998 12:43:24 +0200 Message-ID: <680.895574604@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , "Daniel O'Cal laghan" writes: > >> I just think that it would be much simpler to blow it all away in >> one operation, and expect things needed subdirs to make them again. >> >> If sudo is the only customer for subdirs at this time, I certainly >> think this is the way to do it. > >sudo, *.pid (non-root) are candidates. > >What about > >cd /var/run >rm -f * >for dir in * >do > rm -f $dir/* >done I'd rather: cd /var rm -rf run mkdir run >Also, what is the purpose of /var/preserve, please? Would that be a >better place to locate ntp.drift, rather than /etc? /var/preserve is for vi I belive. I put ntp.drift in /var/tmp -- 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