From nobody Tue Dec 20 03:51:04 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 4NbjKx26Zkz1H1nD for ; Tue, 20 Dec 2022 03:51:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NbjKx0Dccz4HS8 for ; Tue, 20 Dec 2022 03:51:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x531.google.com with SMTP id b69so15757875edf.6 for ; Mon, 19 Dec 2022 19:51:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mh4LwHacYznTFEuatwia/zrt9YLM5/qN16MMYcVMqsM=; b=4Vj9QKHZGPFT6a+zbAoniLPvbTLLbdzacJ3jjsxK6FYOGuY3tLoqB2PLy8mBYBEC9z Ni0b0uZiAcwsofetBgGyK1vRRZ6Am+IH59SJ7U8TbsOeBqDgZHNOtsCLcwFYyZbyp5+H rywUGolynbvko9HOhEVU7+kc6PNdfEDvsxzxttDv8wd5V4P+Uc94KKVMtdQcV294dkTy 0C8a8LHhurAbX5heBX7MtXgPKheCjQQgBo1fbllfSQIhjPeHrVszJ0vWoiyE9zxA0xY8 1vTY3WQRt6YxG7tV2lDkuNezNRf9zstXGJ1WJzXMly4ck2b0wYQX7MVb4rrOKruTRage NyRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mh4LwHacYznTFEuatwia/zrt9YLM5/qN16MMYcVMqsM=; b=6XCj0JrpwYJlv1/74dWjBoweQYvVfBb+qOa19+XLLSqWAIyHo/B4bIM38lgfHgVsLH 3eQOWzmOXbqKd72MLKmYbCRpVmJGfBAaSFDISiSDyRfY4/hx7CjFQdOWcAdachq8HhtX JaR+INfRoINxjhDeNBOQheaM8WUDG8yP0Ol2l+m61Ym1DRzZbidHHEwk8ZpzaySEit4c D9/ouCdGW6cV7M5dMDTNgR6aUnByCRLVvK+iFwJ/R+aJBRIxla02Gxinn2GaA74SlkTS uX19ER7cefO3QhDe06lO3b136SIw4c/6s6FLp+sO0GshTqOBizgCI0L8wInHre8g2j/0 5Vlg== X-Gm-Message-State: ANoB5pnnG1rd9964ueFY2/DCsMw9eNLZI5UUReo+q9WMPWbfQO0OSRbU 10Bt9ku5PNdLAy0MOHv91GQQmComzf/ctemd4AsSAA== X-Google-Smtp-Source: AA0mqf7jW2ynDzkAWpyjkamGOAQDEs53o3s+jjkseXbjm6bTCH2csyccg4mYuCEgXLTcXnj1STNYv9dzFcP7ZKjUyqY= X-Received: by 2002:a05:6402:1755:b0:470:2d48:bda3 with SMTP id v21-20020a056402175500b004702d48bda3mr3098430edx.136.1671508275103; Mon, 19 Dec 2022 19:51:15 -0800 (PST) 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 References: <202212200325.2BK3PF1O002907@gitrepo.freebsd.org> In-Reply-To: From: Warner Losh Date: Mon, 19 Dec 2022 20:51:04 -0700 Message-ID: Subject: Re: git: b13110e9f3ca - main - ufs/ffs: detect endian mismatch between machine and filesystem To: Alexey Dokuchaev Cc: "Alfredo Dal'Ava Junior" , src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000fa1df705f03a5811" X-Rspamd-Queue-Id: 4NbjKx0Dccz4HS8 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000fa1df705f03a5811 Content-Type: text/plain; charset="UTF-8" On Mon, Dec 19, 2022, 8:45 PM Alexey Dokuchaev wrote: > On Tue, Dec 20, 2022 at 03:25:15AM +0000, Alfredo Dal'Ava Junior wrote: > > commit b13110e9f3cad590abb86519e313eb1449ddc2e7 > > > > ufs/ffs: detect endian mismatch between machine and filesystem > > > > 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 tricky to port when I tried it back when I was hacking FreeBSD/mips in the pre BERI times... Warner > --000000000000fa1df705f03a5811 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Dec 19, 2022, 8:45 PM Alexey Dokuchaev <danfe@freebsd.org> wrote:
On Tue, Dec 20, 2022 at 03:25:15AM +0000, A= lfredo Dal'Ava Junior wrote:
> commit b13110e9f3cad590abb86519e313eb1449ddc2e7
>
>=C2=A0 =C2=A0ufs/ffs: detect endian mismatch between machine and filesy= stem
>
>=C2=A0 =C2=A0Mount on a LE machine a filesystem formatted for BE is not=
>=C2=A0 =C2=A0supported currently.

Interesting.=C2=A0 Are there future plans to add full support for this?
I'd be looking forward to it!

NetBSD has this code, but differences in t= he VM systems made it tricky to port when I tried it back when I was hackin= g FreeBSD/mips in the pre BERI times...=C2=A0

Warner
--000000000000fa1df705f03a5811--