From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA58AC6FD1D for ; Mon, 20 Mar 2023 17:01:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BC13185B78; Mon, 20 Mar 2023 18:01:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="W3ejgKaA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AB1E85B5A; Mon, 20 Mar 2023 18:01:12 +0100 (CET) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5A4B085AEC for ; Mon, 20 Mar 2023 18:01:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2f.google.com with SMTP id g9so8009144qvt.8 for ; Mon, 20 Mar 2023 10:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1679331668; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QIbvZJxJTWQKEWMnfiegwiEihFQ4I88sMbRdd7+qoA4=; b=W3ejgKaA904hSHT/YHMK4wA7UOS6z/uC8J2lbOibqzTkpZaw03YI2oWVo2dvRIFPgL jKHKSov3czPP8LvT60xuv8G9nSVrS1j/5yJtbWy26FAwOnBBz7E4dApbbVi4flLCfG+b Xo94nAiB1Sb6tXcuyv6L5wfKjECiMFQO8/Jzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679331668; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QIbvZJxJTWQKEWMnfiegwiEihFQ4I88sMbRdd7+qoA4=; b=M/nTOlwcRPB7LrA6CYZ+sw1TLUL7uBBKw9A2qJLscISf1MivK8qwAZCq6+RmYXHEH9 vEK69GMTkeYS0fUPkSAVZ7iOpjWB/Tf6Ae+/NcV7/xZpv9S4nIT9GEIcwnTx+3tOW7qG udfFRLORoaR/J4ILCitIFLC/JbCpcnhJcujrx2LlMVG0p1Yib3iq3RpRKRC2VneI/Toi gLpF272fdPvTfSs9xcl41oTM7kCu92CvIAHLKb7bQD0q7IC57YDt/yJV5aPBVo0/gFTx u4t8EaxlTvfQGhx/BOFXemU02CeRVcGGbCy9xbIdgbUW4H/DZTJmgiLay8RnQ3xtUu4o f58g== X-Gm-Message-State: AO0yUKU+YohQzINjG97JmGL0+uzTUQ4YysBUslQM7lSBM3jQljPVOgTN I31DCXwPh2i9jhaMQFJ2AZj5sg== X-Google-Smtp-Source: AK7set9KiaWIFMnYvJlksltXPARVX8AMLebHPb3on3BCDLxAVp0uVTpAhzoAX1QfzcYYNGfNtgjPrQ== X-Received: by 2002:a05:6214:f6f:b0:5d1:d9f3:dd8c with SMTP id iy15-20020a0562140f6f00b005d1d9f3dd8cmr1371966qvb.46.1679331668013; Mon, 20 Mar 2023 10:01:08 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-82f3-ddd9-b859-78ff.res6.spectrum.com. [2603:6081:7b00:6400:82f3:ddd9:b859:78ff]) by smtp.gmail.com with ESMTPSA id y5-20020ac87085000000b003e014845d9esm2977696qto.74.2023.03.20.10.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:01:07 -0700 (PDT) Date: Mon, 20 Mar 2023 13:01:05 -0400 From: Tom Rini To: Stefan Herbrechtsmeier Cc: u-boot@lists.denx.de, Stefan Herbrechtsmeier , Simon Glass Subject: Re: [PATCH] fs: fat: do not mangle short filenames Message-ID: <20230320170105.GA8135@bill-the-cat> References: <20230317120413.11066-1-stefan.herbrechtsmeier-oss@weidmueller.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Et5AmHcHpHv8iOjL" Content-Disposition: inline In-Reply-To: <20230317120413.11066-1-stefan.herbrechtsmeier-oss@weidmueller.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --Et5AmHcHpHv8iOjL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier >=20 > Do not mangle lower or mixed case filenames which fit into the upper > case 8.3 short filename. This ensures FAT standard compatible short > filenames (SFN) to support systems without long filename (LFN) support > like boot roms (ex. SFN BOOT.BIN instead of BOOT~1.BIN for LFN > boot.bin). >=20 > Signed-off-by: Stefan Herbrechtsmeier >=20 > --- >=20 > fs/fat/fat_write.c | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) Can we update test/py/tests/test_fs/ somewhere to have a test for this case? Thanks. --=20 Tom --Et5AmHcHpHv8iOjL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQYkUsACgkQFHw5/5Y0 tyzkqAwAnJ+UUIukuooVcCQmDsPvPJ3OmaUk2fLTdq/WpnM/PEgnVOs/bbRvVpND LPlF+CdzDshhBaQota+5DpfLx+rHILZqYrm2C6j/zm9C7JCVfIK3LVx86AQCo9pf f9iiXSmbNPUw5POObD9H6XYjZByxo1kjD1JHTuY927h0Altx/ty4M88gHoBNjY0n 6rGVlWPUa9kAQNmRKrfU8dn+2ueYzAkRmht5UO+D954WHtR/zh6jd+n13Z09r1fU FUneRzarJhheJ1B9Ufa7l7YVSIypmgbg2S7ANAV2H7qA0b2yxCGreI0bVsccrn5I aECKGz2mFtEqh9it1gXk/9EvtkD15fG+a4D/SfywYY1Y1b22a7rP7WMgVlVF6Mse AhCdpIThZz7yJmsvamWesvyvYl2AEtAioTctyIy0fUw7tycTL2ACsp65fjJY017h YDmPQMh59KxTTYqerNBqbW/Ec2EpfMlRQqOcga2uAOcpyBkM9xzknDb/uHVFjcFu pMhJdJKP =L6MH -----END PGP SIGNATURE----- --Et5AmHcHpHv8iOjL--