From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <94ce5a2db276c753e34c0028953e6d2f@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] mkstemp() Date: Sat, 29 Jan 2005 00:30:51 -0800 From: geoff@collyer.net In-Reply-To: <018001c505af$b65ab220$06597d50@kilgore> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 385cd4f6-eace-11e9-9e20-41e7f4b1d025 No, removing the open file is a Unix idiom. On Plan 9, create your temporaries with the ORCLOSE bit and they'll be removed when closed, including if the application crashes or the client machine crashes (but not, alas, if the file server is halted with the file still open, at least in ken fs). Or run ramfs first.