From owner-freebsd-questions@FreeBSD.ORG Thu May 31 07:42:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7229D16A400; Thu, 31 May 2007 07:42:25 +0000 (UTC) (envelope-from lubeg@mail.ru) Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67]) by mx1.freebsd.org (Postfix) with ESMTP id 8B2CB13C46A; Thu, 31 May 2007 07:42:24 +0000 (UTC) (envelope-from lubeg@mail.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.64]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id 46C3794D62; Thu, 31 May 2007 09:46:04 +0400 (MSD) Received: from [81.1.255.82] (port=38069 helo=ontario) by mx27.mail.ru with psmtp id 1HtdU2-0003Rs-00; Thu, 31 May 2007 09:46:02 +0400 Date: Thu, 31 May 2007 12:45:45 +0700 From: Alexey Privalov To: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20070531124545.4f5087df@ontario> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: Subject: strange behaviour with msdosfs longname option X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 07:42:25 -0000 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: 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 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: 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... ))