From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22007 invoked from network); 16 Jun 1998 14:39:56 -0000 Received: from canoe.roc.servtech.com (HELO canoe.xcski.com) (ptomblin@204.181.4.141) by mail2.redhat.com with SMTP; 16 Jun 1998 14:39:56 -0000 Received: (from ptomblin@localhost) by canoe.xcski.com (8.8.7/8.8.7) id KAA11465; Tue, 16 Jun 1998 10:40:21 -0400 Message-ID: <19980616104020.A10784@xcski.com> Date: Tue, 16 Jun 1998 10:40:20 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: byte order, swapping code References: <199806161354.JAA05199@alpha.nmrlab.hscsyr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <199806161354.JAA05199@alpha.nmrlab.hscsyr.edu>; from Mike on Tue, Jun 16, 1998 at 09:54:27AM -0400 Quoting Mike (mike@alpha.nmrlab.hscsyr.edu): > between architectures (like we do here, our Sun and Alpha both access the > same hard disk) you might want to do the conversion on the fly. It's been a long, long, long time since I've done this, but I seem to recall some functions that came with RPC and NFS that did this sort of thing - it converted bytes too and from "Network Byte Order" (which just happened to be the native format of MC68000 and SPARC chips, since it was a Sun protocol). Since Linux has NFS and RPC, it probably has the libraries. I think it's either called "xdev" or "rdev". -- Paul Tomblin, ptomblin@xcski.com. "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners" - Ernst Jan Plugge