From nobody Tue Dec 20 03:51:04 2022 X-Original-To: dev-commits-src-all@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 4NbjKw71Wnz1H267 for ; Tue, 20 Dec 2022 03:51:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (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 4NbjKw36Xbz4HS5 for ; Tue, 20 Dec 2022 03:51:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52e.google.com with SMTP id z92so15805442ede.1 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=hSAceIUX7Z4+glBJ2IGzR7ODd8R+SuOJpPsaarkas5v82x7kNqNlqyQxxbRpXGdneA URkKxAoadaLq4aNoy6V9AHRYXlW30KSLhPCHIOL2r9kIu2I8Wn7C3nb3GT9OsjgiKCEx c3q22FM9HIiU3JooL37HDkImC1mDwGDx7HwAmh8Hr3FR8d1kg19cs4rWeqfYqyc2P+cN 0v3EYLHLUhL5pm9IT8wl85uWpS2V8jFEBkvQvkQ6DmOC7HyXQuwNehuJWPrCPM39cQiR KFyI7pF2EY3tuXCSF60EDWnYM91cW28OLfR82iz0CsUWRQH1MmrEmCwKkfIs3OG0ZJjS fiGQ== X-Gm-Message-State: ANoB5pmc8vmg0QhiMeLbn59SQJwXUEWgNXiCYU0oiGTDo0alGHV2G4np 5nQ803xkoCKi07CTPmXChzPc4wv7toPFIl0rG5ts0jwFiWZw9w== 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 all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 4NbjKw36Xbz4HS5 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--