9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9P - Meaning of iounit
@ 2016-10-03 13:52 Chris McGee
  2016-10-03 15:05 ` Richard Miller
  2016-10-03 15:08 ` James A. Robinson
  0 siblings, 2 replies; 6+ messages in thread
From: Chris McGee @ 2016-10-03 13:52 UTC (permalink / raw)
  To: 9fans

Hello All,

I am learning the 9p protocol and implementing a 9P server. After reading the 9p manual page, the types of messages and much of the overview is clear. There are a number of items that are less clear.

For example, it took some time to figure out how to provide a directory structure on a Tread.

Lately, I’m looking at the “iounit.” Initially, I had thought of it as a way to give the size of a file on Topen. After some testing I realized that the network subsystem in plan9 is expecting the iounit to be large enough to write commands into a /net/tcp ctl file. With a small iounit, the network subsystem truncates the commands, such as “connect xyz|1234” to match the size of the iounit.

So, what is this mysterious iounit? Is there another man page or plan9 document that describes it in more detail?

Thanks,
Chris


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [9fans] 9p - meaning of iounit
@ 2016-10-03  1:59 Chris McGee
  0 siblings, 0 replies; 6+ messages in thread
From: Chris McGee @ 2016-10-03  1:59 UTC (permalink / raw)


Hello All,

I am learning the 9p protocol and implementing a 9P server. After reading the 9p manual page, the types of messages and much of the overview is clear. There are a number of items that are less clear.

For example, it took some time to figure out how to provide a directory structure on a Tread.

Lately, I?m looking at the ?iounit.? Initially, I had thought of it as a way to give the size of a file on Topen. After some testing I realized that the network subsystem in plan9 is expecting the iounit to be large enough to write commands into a /net/tcp ctl file. With a small iounit, the network subsystem truncates the commands, such as ?connect xyz|1234? to match the size of the iounit.

So, what is this mysterious iounit? Is there another man page or plan9 document that describes it in more detail?

Thanks,
Chris


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-03 22:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 13:52 [9fans] 9P - Meaning of iounit Chris McGee
2016-10-03 15:05 ` Richard Miller
2016-10-03 22:55   ` Chris McGee
2016-10-03 15:08 ` James A. Robinson
2016-10-03 21:11   ` Jules Merit
  -- strict thread matches above, loose matches on Subject: below --
2016-10-03  1:59 [9fans] 9p - meaning " Chris McGee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).