Date: Thu, 31 May 2007 12:45:45 +0700 From: Alexey Privalov <lubeg@mail.ru> To: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: strange behaviour with msdosfs longname option Message-ID: <20070531124545.4f5087df@ontario>
next in thread | raw e-mail | index | archive | help
Hi all, have a little bit strange behaviour with msdosfs longname option.. have 1G flash card in my SE phone: umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Sony Eri Memory Stick 0000> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 960MB (1966080 512 byte sectors: 64H 32S/T 960C) with 'longname' option everything works fine: > ls -l /mnt/flash/MP3/Guitar\ Chill\ Out\ Dreams/ -rw-rw-r-- 1 root wheel 11922243 30 อมส 11:29 01-Siesta Del Sol.mp3 -rw-rw-r-- 1 root wheel 13770667 30 อมส 11:18 02-What The Memories Say.mp3 <skipped> config line in fstab: /dev/da0s1 /mnt/flash msdosfs rw,noauto,noexec,nosuid,longname,-m=664,-M=775,-L=ru_RU.KOI8-R,-D=CP866,-W=koi2dos 0 0 with 'longnames' option I have following: > ls -l /mnt/flash/MP3/guitar~1/ total 170224 -rw-rw-r-- 1 root wheel 11922243 30 อมส 11:29 01-sie~1.mp3 -rw-rw-r-- 1 root wheel 13770667 30 อมส 11:18 02-wha~1.mp3 config line in fstab: /dev/da0s1 /mnt/flash msdosfs rw,noauto,noexec,nosuid,longnames,-m=664,-M=775,-L=ru_RU.KOI8-R,-D=CP866,-W=koi2dos 0 0 most interesting that this behaviour appears only with my flash card in phone. everything is ok in both variants with my USB stick: da0 at umass-sim0 bus 0 target 0 lun 0 da0: <JetFlash TS1GJFV30 8.07> Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 968MB (1982464 512 byte sectors: 64H 32S/T 968C) yeah, in the end, this 'feature' have appeared only after last rebuilding and reinstalling kernel. Now I have: > uname -a ontario FreeBSD 6.2-STABLE #13: Tue May 22 22:48:01 NOVST 2007 my previous kernel was: > uname -a ontario FreeBSD 6.2-STABLE #12: Fri Feb 23 18:35:47 NOVT 2007 PS: and don't say me that this is only because my kernel has #13 now... ))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531124545.4f5087df>