From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1c5680df91b16e2577293169d4fd70d6@orthanc.cc.titech.ac.jp> To: 9fans@cse.psu.edu Subject: Re: [9fans] mk9660 or mkfs, how much can they archive? From: YAMANASHI Takeshi MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 23 Feb 2004 16:57:06 +0900 Topicbox-Message-UUID: f139c4f4-eacc-11e9-9e20-41e7f4b1d025 > I'm trying to archive some parts of my file system using mk9660 and mkfs, > but both mk9660 and mkfs seem to be failing in creating their archives > larger than 2GB. Are there any constraints in them? My archive files went via u9fs and this was where 2GB-over handling was inappropriate. I blindly changed GBIT64 macro in /sys/src/cmd/unix/u9fs/fcall.h as follows and it worked. #define GBIT64(p) ((vlong)((vlong)(p)[0]|((vlong)(p)[1]<<8)|((vlong)(p)[2]<<16)|((vlong)(p)[3]<<24)) |\ ((vlong)((vlong)(p)[4]|((vlong)(p)[5]<<8)|((vlong)(p)[6]<<16)|((vlong)(p)[7]<<24)) << 32)) I am one of those who aren't expected to understand this, though. P.S. Thank you, geoff, for all your help. --