Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2008 14:29:07 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Justin Hibbits <jrh29@alumni.cwru.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Byteswap and UFS
Message-ID:  <20080508122907.GA1941@garage.freebsd.pl>
In-Reply-To: <200805072310.30158.jrh29@alumni.cwru.edu>
References:  <200805072310.30158.jrh29@alumni.cwru.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508122907.GA1941>