Re: msdosfs: Lookup of some existing files fails when mounting with long names

Peter Pentchev <[email protected]> Thu, 21 May 2026 18:11:56 +0300
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On Thu, May 21, 2026 at 11:31:27AM +0200, Fabian Keil wrote:
> I recently got an USB stick which contains a bunch of mp4 files
> that I want to watch on an ElectroBSD amd64 system currently based
> on stable/15 b718f7d881.
> 
> Unfortunately some of the files can't be looked up when
> mounting the file system with long file names (the default).
> 
> The stick could be copied to a file without problems and the
> issue remains reproducible.
> 
> When the image is mounted with:
> 
>    fk@t520 ~ $sudo mount_msdosfs -m 640 -M 750 -L de_DE.UTF-8 -u youtube -o ro -l /dev/md0p1 /mnt/datentausch/
[snip]
> Mounting the file system without the -L option results in even
> more lookup failures.

So this is totally a wild guess, but can you try it with the -L option,
but specifying a single-byte locale, e.g. de_DE.ISO8859-15?

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmoPILcACgkQZR7vsCUn
3xOHig/9F/lPrLWGtZUY1sU8zstX2jclWANb1gHKJ2Pj0T0R4XbqAEhr4Y64YBJn
JmpZWb7Q2QUKaeGtLjG+gm5McUwGQtQoirruazUaYDMxkoi6tjWI86VfCu8fxDP+
N+BSLMX3pJuGSc0EfZl1T3Js8K6KvcNV32Zh4M5k3ymUA8sKUz6If5vF1N8Qi+xM
cLrEXrspOeAY0Ie8zkJ86a5pZcihs9MmmIAWRuZRL0+ek0c/kbKjZEsXXZcJ7LNc
JEpDAHtNqm6vhTNezBEPUPFYFxGMPUSJPE0b84aze3n0CS22O7uCOFySt9TMIMeg
B8chHv8G5tNrd7xgrCUvpdIiV6EaIkbdduCMKi5J5IFjeLmxNyDQYnm+gK4zpZS3
MV4YJC/1CefcyoNrkfedJG4j41eNrpNJMnyS4JKKocAKXQvYZCOLg5JbMMF3eaBc
xpjV5XkEqDhyrPPpj1wN/0Wz4GxHJBbS6gpYvUFzsZxdC5XMIh0vlA0knOG4BEp3
6fL9XFQhoe8uVP1y5doE4aa0O28Q7XsY9imn3/f7H89nuq0nmbKp8M+2eVSjiQWh
1UMi+CQ+C8HgDWEFUc/eYDjqteQECVAcgwBGq33MafYwJwPVG0XjEGvCLmxakDg8
BbOv2m1OT43A5KIc5+/RpW8XXGY7vzhpoRd/DYEZhXlp6kNWwzM=
=DBuz
-----END PGP SIGNATURE-----