From nobody Wed Dec 21 17:38:52 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NcgfV742Qz1GKCR; Wed, 21 Dec 2022 17:38:58 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NcgfV4tl4z3qdV; Wed, 21 Dec 2022 17:38:58 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Authentication-Results: mx1.freebsd.org; none Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 760ED3C0199; Wed, 21 Dec 2022 17:38:52 +0000 (UTC) Date: Wed, 21 Dec 2022 17:38:52 +0000 From: Brooks Davis To: Alexey Dokuchaev Cc: Alfredo Dal'Ava J??nior , Warner Losh , src-committers , "" , dev-commits-src-main@freebsd.org Subject: Re: git: b13110e9f3ca - main - ufs/ffs: detect endian mismatch between machine and filesystem Message-ID: References: <202212200325.2BK3PF1O002907@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Rspamd-Queue-Id: 4NcgfV4tl4z3qdV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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 wrote: > > > On Mon, Dec 19, 2022, 8:45 PM Alexey Dokuchaev 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