[2211] in Info-AFS_Redistribution

home help back first fref pref prev next nref lref last post

Re: Binary Data Sharing

daemon@ATHENA.MIT.EDU (Michael T. Stolarchuk)
Tue Nov 23 16:28:31 1993

To: riegera@wharton.upenn.edu (Andrew John Rieger)
Cc: info-afs@transarc.com, mts@terminator.rs.itd.umich.edu
In-Reply-To: Your message of "Tue, 23 Nov 1993 10:36:37 EST."
Date: Tue, 23 Nov 1993 15:00:43 -0500
From: "Michael T. Stolarchuk" <mts@terminator.rs.itd.umich.edu>


	"I would think that it would, but I need to make sure.
	Thanks for the help."

I'm sorry.  AFS doesn't do that.  If I write "hello" into
a file, every machine reads it as "hello".  Files aren't
typed.

But, that doesn't mean AFS is a bad idea.  In fact, I would
store only one copy of the data, and figure out one way to
get the data to the application; using some serialization
or marshalling technique to get the data in and out.

In fact, there are several serialization mechanisms, to name
a few: rpcgen (to get to XDR), DCE (well, not directly but it can be used),
along with ASN.1 (BER/DER encodings).  But what I thing you
want is #include to get to ntohs, or even maybe the archaic
dd conv=swab.

mts.

home help back first fref pref prev next nref lref last post