From owner-cvs-all Wed Mar 28 2:56:58 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 159DE37B71A; Wed, 28 Mar 2001 02:56:49 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2SAug392686; Wed, 28 Mar 2001 12:56:42 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Alfred Perlstein Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc In-Reply-To: Your message of "Wed, 28 Mar 2001 02:52:35 -0800." <20010328025234.T9431@fw.wintelcom.net> Date: Wed, 28 Mar 2001 12:56:42 +0200 Message-ID: <92684.985777002@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010328025234.T9431@fw.wintelcom.net>, Alfred Perlstein writes: >* Poul-Henning Kamp [010328 02:25] wrote: >> In message <20010328022334.S9431@fw.wintelcom.net>, Alfred Perlstein writes: >> >* Brian Somers [010328 02:13] wrote: >> >> brian 2001/03/28 02:13:27 PST >> >> >> >> Modified files: >> >> etc rc >> >> Log: >> >> Remove sockets found in /var/run or /var/spool/lock at boot time >> >> (as well as files). >> > >> >This may be a bad idea. >> > >> >Some applications may use these files as an indication of an >> >unorderly shutdown (kill -9 / crash). And refuse to start unless >> >repair utilities are run (or run them automatically). >> > >> >What do you think? >> >> I think such applications are badly designed since the file >> could disappear for exactly the same reasons which force the >> application to run recovery... > >You mean after fsync() returns? I mean after a filesystem is trashed due to a disk-crash and restored from a backup... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message