Date: Mon, 13 Feb 2023 07:43:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269527] msdosfs FAT filesystem require CAPITAL name Message-ID: <bug-269527-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269527 Bug ID: 269527 Summary: msdosfs FAT filesystem require CAPITAL name Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: drachen6jp@yahoo.co.jp when freebsd writes a file on msdosfs by "not capital ascii name" with icon= v. iconv can convert 2byte file name to ascii name. sys/fs/msdosfs/msdosfs_conv.c unix2dosfn call unix2doschr unix2doschr call msdosfs_iconv->convchr iconv->convchr convert "filename" but FAT filesystem require CAPITAL file name iconv did't change this pattern. so real DOS cannot get file name correctlly. I did that mount_msdosfs -L UTF-8 -D CP932 /dev/da0s1 /mnt cp 33c93.sys /mnt I couldn't read this "33c93.sys" file with real MS-DOS for this reason. this is patch. sys/fs/msdosfs/msdosfs_conv.c 399d398 < if(c < 0x7b && c > 0x60) c =3D c - 0x20;//capitalize 439d437 < if(c < 0x7b && c > 0x60) c =3D c - 0x20;//capitalize thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269527-227>