Date: Thu, 19 Apr 2007 04:56:04 GMT From: Voldemar<deka14@itc.tsu.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/111843: Long Names of files are incorrectly created on msdosfs Message-ID: <200704190456.l3J4u4Mf052267@www.freebsd.org> Resent-Message-ID: <200704190510.l3J5A23Z056530@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111843 >Category: misc >Synopsis: Long Names of files are incorrectly created on msdosfs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 19 05:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Voldemar >Release: 6.1-RELEASE >Organization: SSMU >Environment: FreeBSD home.ssmu.ru 6.1-RELEASE FreeBSD 6.1-RELEASE #10: Wed Apr 18 21:30:14 OMSST 2007 root@home.ssmu.ru:/usr/obj/usr/src/sys/home i386 >Description: At creation of a new file on FAT12 and FAT32 (and it is possible also FAT16) if the name of a file finished on one or several space or dots and contains before it some other symbols which number is multiple one LFN-record - the name is created incorrect: the counter of the first LFN-record < 0x40. >How-To-Repeat: root@home > mount_msdosfs -l /dev/fd0 /mnt root@home > mkdir /mnt/test root@home > cd /mnt/test root@home > echo > 0123456789012\ root@home > echo > 0123456789012- root@home > echo > 01234567890123\ root@home > ls 0123456789012- 01234567890123 012345~1 root@home > hd -n 512 . 00000000 2e 20 20 20 20 20 20 20 20 20 20 10 00 7b 37 b0 |. ..{7╟| 00000010 92 36 92 36 00 00 37 b0 92 36 61 06 00 00 00 00 |66..7╟6a.....| 00000020 2e 2e 20 20 20 20 20 20 20 20 20 10 00 7b 37 b0 |.. ..{7╟| 00000030 92 36 92 36 00 00 37 b0 92 36 00 00 00 00 00 00 |66..7╟6......| 00000040 01 30 00 31 00 32 00 33 00 34 00 0f 00 dd 35 00 |.0.1.2.3.4...щ5.| 00000050 36 00 37 00 38 00 39 00 30 00 00 00 31 00 32 00 |6.7.8.9.0...1.2.| 00000060 30 31 32 33 34 35 7e 31 20 20 20 20 00 1f 43 b0 |012345~1 ..C╟| 00000070 92 36 92 36 00 00 43 b0 92 36 ad 00 01 00 00 00 |66..C╟6╜.....| 00000080 42 2d 00 00 00 ff ff ff ff ff ff 0f 00 fd ff ff |B-...ЪЪЪЪЪЪ..ЩЪЪ| 00000090 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |ЪЪЪЪЪЪЪЪЪЪ..ЪЪЪЪ| 000000a0 01 30 00 31 00 32 00 33 00 34 00 0f 00 fd 35 00 |.0.1.2.3.4...Щ5.| 000000b0 36 00 37 00 38 00 39 00 30 00 00 00 31 00 32 00 |6.7.8.9.0...1.2.| 000000c0 30 31 32 33 34 35 7e 32 20 20 20 20 00 3f 45 b0 |012345~2 .?E╟| 000000d0 92 36 92 36 00 00 45 b0 92 36 b7 00 01 00 00 00 |66..E╟6╥.....| 000000e0 42 33 00 00 00 ff ff ff ff ff ff 0f 00 1d ff ff |B3...ЪЪЪЪЪЪ...ЪЪ| 000000f0 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |ЪЪЪЪЪЪЪЪЪЪ..ЪЪЪЪ| 00000100 01 30 00 31 00 32 00 33 00 34 00 0f 00 1d 35 00 |.0.1.2.3.4....5.| 00000110 36 00 37 00 38 00 39 00 30 00 00 00 31 00 32 00 |6.7.8.9.0...1.2.| 00000120 30 31 32 33 34 35 7e 33 20 20 20 20 00 2b 49 b0 |012345~3 .+I╟| 00000130 92 36 92 36 00 00 49 b0 92 36 0e 01 01 00 00 00 |66..I╟6......| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200 Byte by offset 0x40 == 0x01, but not 0x41 ! >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704190456.l3J4u4Mf052267>