From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <009101c03dae$bc8c77a0$aec784c3@cybercable.fr> From: "Boyd Roberts" To: <9fans@cse.psu.edu> References: <200010220013.UAA10279@smarty.smart.net>, <005201c03bbe$95ac5ca0$b6c784c3@cybercable.fr> <39F27E5B.381E63A@null.net> Subject: Re: [9fans] Df command in Plan9? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Tue, 24 Oct 2000 13:37:05 +0200 Topicbox-Message-UUID: 1c652398-eac9-11e9-9e20-41e7f4b1d025 From: Douglas A. Gwyn > Boyd Roberts wrote: > > kirk said that it took multiple iterations to get rename(2) > > right, because it's a nasty problem. > > How could it be? It's just modifying a record in a single > file (the directory file). I understand that organizing > that file as variable-length records makes updating a problem, > but rename as such is easy (lock, change, unlock). i'm suprised by this response from you, doug. the wdir is the least of the problem(s). it's working out whether you're ripping out the tree from under yourself is the nasty problem. or, maybe for you, kernel n-ary tree structure mangling is a simple operation.