From owner-freebsd-bugs Tue May 19 03:54:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14287 for freebsd-bugs-outgoing; Tue, 19 May 1998 03:54:29 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14281 for ; Tue, 19 May 1998 03:54:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA27343; Tue, 19 May 1998 03:50:01 -0700 (PDT) Date: Tue, 19 May 1998 03:50:01 -0700 (PDT) Message-Id: <199805191050.DAA27343@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Poul-Henning Kamp Subject: Re: bin/6653 Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6653; it has been noted by GNATS. From: Poul-Henning Kamp To: "Daniel O'Callaghan" Cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/6653 Date: Tue, 19 May 1998 12:43:24 +0200 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