Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2022 17:38:52 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Alfredo Dal'Ava J??nior <alfredo@freebsd.org>, Warner Losh <imp@bsdimp.com>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: b13110e9f3ca - main - ufs/ffs: detect endian mismatch between machine and filesystem
Message-ID:  <Y6NErKdunNIgZ7u/@spindle.one-eyed-alien.net>
In-Reply-To: <Y6JxE%2BwHqUtFUfcZ@FreeBSD.org>
References:  <202212200325.2BK3PF1O002907@gitrepo.freebsd.org> <Y6Ev5wZBcnS7IWQq@FreeBSD.org> <CANCZdfo6SC_eU2Fv7QTVmu1hUsVC4wjHj32yK3fVDme-Mnwc1Q@mail.gmail.com> <CAOpTx7HdKYLXGvmvELqHb9%2BgEH_wZqshNT=sYDT%2Bv4BaqB%2BznQ@mail.gmail.com> <Y6JxE%2BwHqUtFUfcZ@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 21, 2022 at 02:36:03AM +0000, Alexey Dokuchaev wrote:
> On Tue, Dec 20, 2022 at 11:29:04AM -0300, Alfredo Dal'Ava J??nior wrote:
> > On Tue, Dec 20, 2022 at 12:51 AM Warner Losh <imp@bsdimp.com> wrote:
> > > On Mon, Dec 19, 2022, 8:45 PM Alexey Dokuchaev <danfe@freebsd.org> wr=
ote:
> > >> On Tue, Dec 20, 2022 at 03:25:15AM +0000, Alfredo Dal'Ava Junior wro=
te:
> > >> >   Mount on a LE machine a filesystem formatted for BE is not
> > >> >   supported currently.
> > >> Interesting.  Are there future plans to add full support for this?
> > >> I'd be looking forward to it!
> > >>
> > > NetBSD has this code, but differences in the VM systems made it trick=
y to
> > > port when I tried it back when I was hacking FreeBSD/mips in the pre =
BERI
> > > times...
> >=20
> > We actually considered it when we added BE support to mpr and mrsas dri=
vers
> > (focused on powerpc64), but there were other priorities. At this moment=
 I'm
> > not aware that anyone is working on it....
> > @danfe, is it something useful for you?
>=20
> Not to extent to push someone do the work, but it would be nice to simply
> unplug the HDD from Mac mini G4 and connect it directly to my i386 deskto=
p.
> I'm using a WD 1.0TB SATA drive through the converter which started to fa=
il
> on me recently (i.e. the computer won't boot off of it), so until I manage
> to fix this somehow, I can't access my data.

IIRC sson@ did a bi-endian port of UFS about 10 years ago.

It turns out this isn't want we needed so we never tried to upstream
the work (we needed the ability to make BE filesystems for CHERI-MIPS
systems from amd64 without giving everyone root so makefs was more
useful to us).

I have no idea where the code is today.

-- Brooks



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