[prev in list] [next in list] [prev in thread] [next in thread] 

List:       9fans
Subject:    Re: [9fans] Plan 9 wiping itself?
From:       sqweek <sqweek () gmail ! com>
Date:       2007-11-30 4:58:59
Message-ID: 140e7ec30711292058i16b0d11bjc1d7646e336f2ee7 () mail ! gmail ! com
[Download RAW message or body]

On Nov 29, 2007 1:29 AM, Douglas A. Gwyn <DAGwyn@null.net> wrote:
> 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.

 I suspect the submitted patch (ie, don't delete the file in the first
place) is similar enough.
 Thanks a lot Russ, for the fixes and explanation.
-sqweek


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic