From owner-freebsd-questions@FreeBSD.ORG Mon Oct 25 01:46:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E1CF1065670 for ; Mon, 25 Oct 2010 01:46:57 +0000 (UTC) (envelope-from xyin@gmx.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 44F538FC1B for ; Mon, 25 Oct 2010 01:46:57 +0000 (UTC) Received: (qmail invoked by alias); 25 Oct 2010 01:46:55 -0000 Received: from pool-173-67-1-13.bltmmd.fios.verizon.net (EHLO [192.168.211.47]) [173.67.1.13] by mail.gmx.com (mp-us002) with SMTP; 24 Oct 2010 21:46:55 -0400 X-Authenticated: #50283380 X-Provags-ID: V01U2FsdGVkX1+vKnsC+qWvJqFd833TliDLZNDkf2u0gULfTNlKr5 7jf2fXnLLfehIQ Date: Sun, 24 Oct 2010 21:46:48 -0400 (EDT) From: Xihong Yin To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Y-GMX-Trusted: 0 Subject: filename problem 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: Mon, 25 Oct 2010 01:46:57 -0000 I have files on a USB flash drive that are created on a Mac OS. When I want to use the files on my FreeBSD, I have problems. I've searched the FreeBSd Forums. I found a similar post, http://forums.freebsd.org/showthread.php?t=14612. The problem is not resolved in that post. May be somebody here can help me. The filenames contain Chinese characters. The USB drive filesystem is FAT32. My system is FreeBSD 8.0 stable. My shell is tcsh. The 'ls' command shows the files as these. ????????.dvd.cd1.rmvb ????DVD?.rmvb with the '-b' option, it shows the same result. however, with the '-l' option or other options, I get error ls: ????????.dvd.cd1.rmvb: Invalid argument ls: ????DVD?.rmvb: Invalid argument total 0 with the '-i' option, I get the same error without inode displayed. with 'ls *DVD*' or 'ls *', it shows, ls: No match. I also tried the 'find' command, the results are similar. Because the Chinese characters in the filenames are not displayed, I want to rename the filenames. It seems there is no way to do it. All the methods failed, such as using inode. Thus I can not use these files created on Mac OS. Xihong