From owner-freebsd-questions Tue Sep 17 3:19:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E4D37B404 for ; Tue, 17 Sep 2002 03:19:23 -0700 (PDT) Received: from falcon.clarotech.co.za (falcon.clarotech.co.za [196.22.181.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6ED43E77 for ; Tue, 17 Sep 2002 03:19:16 -0700 (PDT) (envelope-from TonyR@clarotech.co.za) Received: from prowler.clarotech.co.za (prowler.clarotech.co.za [192.168.250.2]) by falcon.clarotech.co.za (8.12.6/8.12.6) with ESMTP id g8HAJBaW015159 for ; Tue, 17 Sep 2002 12:19:11 +0200 (SAST) (envelope-from TonyR@clarotech.co.za) Subject: Moving gdbm databases from Linux to FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Sep 2002 12:19:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message Message-ID: <09B07E5FCE15BB44B9CDAF92E483935E05C30E@prowler.clarotech.co.za> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Moving gdbm databases from Linux to FreeBSD Thread-Index: AcJeM6nnUDtY91lPRWKq1XgCQ8XP+w== From: "Tony Russell" To: X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been asked to move a Python application that uses gdbm (databases/py-gdbm) databases from Linux to FreeBSD. The actual database files do not appear to be transportable; it appears to do with block size from stat(2), and the fact that FreeBSD uses a 64 bit offset where Linux uses 32 bits. Short of unloading all the data under Linux and importing it again on FreeBSD, does anyone know of a way to use the original Linux databases on FreeBSD? _________________________________________________ Antony Russell Technical Director Clarotech Consulting (Pty) Ltd EMail: TonyR@Clarotech.co.za Phone: 021.671.5350 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message