From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam To: <9fans@cse.psu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] Rstat needs three size fields? Date: Mon, 30 Jun 2003 14:04:24 -0400 Topicbox-Message-UUID: e25f8e4c-eacb-11e9-9e20-41e7f4b1d025 I'm having some trouble rationalizing the extra two byte size as documented in stat(5) BUGS. I see how having size[2] as part of the stat layout helps in parsing multiple directory entries end-to-end in a read(5). Where I'm stuck is why it's more consistent to add another one. If the argument were, ``while we could elide the size[2] field from the stat layout because the length of the remainder of the message is known, we leave it in for consistency with directory reads'' I would understand. What am I missing here? Sam