9fans archive / 1998 / 10 / 34 /    prev next

From: G. David Butler gdb@dbS...
Subject: [9fans] file name lengths
Date: Tue, 6 Oct 1998 16:36:49 -0500

From: "James A. Robinson" <Jim.Robinson@Sta...>
>Was there some particular efficency reason to limit the filenames
>to such a small number of bytes?  I can certainly understand not

I can answer from having converted to 256 octets and the biggest
problem is the amount of data tranmitted on the network.  As it
is, even 28 octets that are mostly null is a problem.  So, since
it needed to be addressed at 28, needing to do it for 256 is
not a problem.  Shoot, once you start to change 9P, you might
as well go for it and some other things as well.

I added FNAMELEN = 256 leaving NAMELEN = 28.  This allowed leaving
the ticket stuff alone and let me focus on just filename lengths.

After doing that, all the other source changes were mechanical.

David Butler
gdb@dbS...