From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8db6ea68d1cba1bc0b101c4471e45e32@yourdomain.dom> From: steve.simon@snellwilcox.com To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] 9p questions Date: Wed, 23 Jul 2003 12:13:59 +0100 Topicbox-Message-UUID: 017232f8-eacc-11e9-9e20-41e7f4b1d025 Hi, two questions about 9p semantics: 1/ Netware will not let me rename a file which is open. So, when wstat updates a file's name does 9p place a restriction on wether the file is open or not? Do I have to do a close, rename and reopen on rename or is just close safe? I guess the answer is reopen the file - more races :-( Netware has similar restrictions on deleteing files/dirs so I am closing then also, but I cannot imagine any side effects from this. 2/ Netware changes its file ID (which I map to Qid) when a file is renamed. Using lib9p is it OK to change fid->qid in wstat, under the libraries feet so to speak? Also, will it mess up plan9 clients? -Steve