Coda File System

Re: Coda for Linux/Alpha ???

From: Jim Doyle <>
Date: Mon, 8 Dec 1997 16:28:13 -0500 (EST)
> > In the Paradise Netrek packet.h (or was it struct.h?) file, I
> > rewrote all the packets to use some typedefs such as INT32, CARD32,
> > INT16, CARD16, INT8, CARD8, so I could compile it on a KSR-1 system.
> > Of course, if the compiler's struct packing was the least bit
> > surprising, everything would get shot to shit.
> Is there such as thing as a platform-independent, compiler-independent
> description of bit layout that can be accessed from C?  What about XDR
> (Sun RPC) or ASN (ISODE)?

Yeah. This is another good case for looking into offering DCE RPC as
the communications layer for Coda.  It has support for marshalling
32, 64 and 128 bit integers, floats, as well as marshalling complex
C structs, unions, arrays  - even coverage for pointer types.

But, until I finish up my DCE 1.2.2 port, guess its only available
for NT, VMS and Vendor Unix. 

-- Jim

Jim Doyle                         Boston University   Information Technology
Systems Analyst/Programmer        email:   Distributed Systems
						      tel. (617)-353-8248
Received on 1997-12-08 16:41:02