From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 28 Nov 2007 16:29:11 +0000 From: "Douglas A. Gwyn" Message-ID: <474D93A2.278C7D77@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <140e7ec30711272343x6f017db3v90053f21cb161884@mail.gmail.com>, <20071128143526.D3AE21E8C22@holo.morphisms.net> Subject: Re: [9fans] Plan 9 wiping itself? Topicbox-Message-UUID: 0d651ff6-ead3-11e9-9d60-3106f5b1d025 Instead of delete and later replace, how about create unique-named temp new file then immediately rename to target name? If rename is atomic then nothing could ever get lost.