From: Darrell G. <da...@cx...> - 2002-01-29 22:24:05
|
On Mon, Jan 28, 2002 at 07:15:51PM -0500, Geoff Hutchison wrote: > On Mon, 28 Jan 2002, Darrell Golliher wrote: > > > Is it possible to share the same databases between Linux running on > > Intel hardware and Solaris running on Sparc hardware? > > The database file is binary, so there are bigendian/littleendian issues > between Intel and SPARC. There are often other problems with transferring > across different OS (e.g. Solaris/x86 v. Linux/x86). > > > BTW, I've been trying all this with 3.1.6 snapshots. > > In that case, you should take a look at the documentation for the htdump > and htload programs. Check in the htdoc/ directory of a snapshot. > > The htdump program spits out an ASCII representation of the databases, > which is naturally cross-platform. Htload on the other hand, will load > databases from an ASCII representation. Should solve your problem. > Thanks for the reply. I'll check out htdump and htload. If it's only a matter of bigendian/littleendian do you think it would be valid to run the binary databases through "dd swab"? to get a working version for other architecture? -Darrell Golliher |