From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 16:19:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7805416A403 for ; Sat, 16 Sep 2006 16:19:11 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 317F543D45 for ; Sat, 16 Sep 2006 16:19:11 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.201.244]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J5P00LBM1BTDW30@vms042.mailsrvcs.net> for current@freebsd.org; Sat, 16 Sep 2006 11:19:06 -0500 (CDT) Date: Sat, 16 Sep 2006 12:18:36 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20060910191751.GA2271@roadrunner.buck.local> To: Ulrich Spoerlein Message-id: <1158423516.946.2.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <20060910191751.GA2271@roadrunner.buck.local> Cc: current@freebsd.org Subject: Re: msdosfs: VFAT support on FAT16 filesystems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 16:19:11 -0000 On Sun, 2006-09-10 at 21:17 +0200, Ulrich Spoerlein wrote: > Hi current@, > > I own a crappy MP3-Stick that requires a FAT16 filesystem. The big > problem is that FreeBSD truncates all files created on that filesystem > to 8.3 characters. You can imagine that this sucks, if you're trying to > copy several MP3s by the same artist to a directory on the disk. > > The question is thus, why does it do that? I think this used to work > just fine in the 5.x line. > > "What happen?" > > Ulrich Spoerlein RabbitsDen# mount -t msdos -o longnames /dev/da0s1 /mnt RabbitsDen# ls -l /mnt ls: ???????: Invalid argument total 48 drwxr-xr-x 1 root wheel 16384 Sep 5 09:46 .Trash-sunny drwxr-xr-x 1 root wheel 16384 Sep 15 15:43 KIPELOV drwxr-xr-x 1 root wheel 16384 Sep 10 10:20 Pictures RabbitsDen# touch '/mnt/This is one long name with spaces' RabbitsDen# ls -l /mnt ls: ???????: Invalid argument total 48 drwxr-xr-x 1 root wheel 16384 Sep 5 09:46 .Trash-sunny drwxr-xr-x 1 root wheel 16384 Sep 15 15:43 KIPELOV drwxr-xr-x 1 root wheel 16384 Sep 10 10:20 Pictures -rwxr-xr-x 1 root wheel 0 Sep 16 12:17 This is one long name with spaces RabbitsDen# umount /mnt ... or am I missing something? -- Alexandre Kovalenko (Олександр Коваленко)