From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Message-Id: Date: Mon, 3 Oct 2016 09:52:44 -0400 To: 9fans@9fans.net Subject: [9fans] 9P - Meaning of iounit Topicbox-Message-UUID: a3232da2-ead9-11e9-9d60-3106f5b1d025 Hello All, I am learning the 9p protocol and implementing a 9P server. After reading th= e 9p manual page, the types of messages and much of the overview is clear. T= here are a number of items that are less clear. For example, it took some time to figure out how to provide a directory stru= cture on a Tread. Lately, I=E2=80=99m looking at the =E2=80=9Ciounit.=E2=80=9D Initially, I ha= d thought of it as a way to give the size of a file on Topen. After some tes= ting I realized that the network subsystem in plan9 is expecting the iounit t= o be large enough to write commands into a /net/tcp ctl file. With a small i= ounit, the network subsystem truncates the commands, such as =E2=80=9Cconnec= t xyz|1234=E2=80=9D to match the size of the iounit. So, what is this mysterious iounit? Is there another man page or plan9 docum= ent that describes it in more detail? Thanks, Chris=