From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] how to truncate a file? From: YAMANASHI Takeshi Date: Fri, 15 Oct 2004 10:14:19 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: eebad974-eacd-11e9-9e20-41e7f4b1d025 On Fri Oct 15 09:42:16 JST 2004, geoff@collyer.net wrote: > In theory, wstat with the desired file length will do it, though ken's > fs doesn't implement it currently. Your theory seems to be approved by Russ's ftruncate. And also, I was warned that it depends on underlying file server if it works or not (fossil does while ken's fs doesn't). Thanks, Geoff and Russ. --