From owner-freebsd-current@FreeBSD.ORG Thu May 8 12:47:37 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE151065675 for ; Thu, 8 May 2008 12:47:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206046210.chello.pl [87.206.46.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6C68FC2A for ; Thu, 8 May 2008 12:47:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id EAAA945CBA; Thu, 8 May 2008 14:29:12 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1C78745C98; Thu, 8 May 2008 14:29:08 +0200 (CEST) Date: Thu, 8 May 2008 14:29:07 +0200 From: Pawel Jakub Dawidek To: Justin Hibbits Message-ID: <20080508122907.GA1941@garage.freebsd.pl> References: <200805072310.30158.jrh29@alumni.cwru.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <200805072310.30158.jrh29@alumni.cwru.edu> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: Byteswap and UFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2008 12:47:37 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 07, 2008 at 11:10:24PM -0400, Justin Hibbits wrote: > Are there any plans to add byteswapping into the UFS code, ala NetBSD? T= his=20 > would be really useful for moving disks between architectures. I noticed= pjd=20 > was doing some work with this, but last thing I can find on it is a blog= =20 > entry from over a year ago. I did the read-only part, ie. you can mount UFS file system read-only created on system with different byte order than yours. Read-write support is much harder. Also the NetBSD's way of doing it is very intrusive to the UFS source - number of changes is a scary. I was trying to do it a bit differently (on lower level), which went nice for read-only, but may be harder for read-write. The code was never committed. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIIvITForvXbEpPzQRAqEbAJ9GSdrUeZjOL1zZfq/P7JlYoCWl7QCg7a6B 0XuR1MMiI0+QPuZs8Jt7B0o= =mJFt -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--