Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2006 12:18:36 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
To:        Ulrich Spoerlein <uspoerlein@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: msdosfs: VFAT support on FAT16 filesystems?
Message-ID:  <1158423516.946.2.camel@RabbitsDen>
In-Reply-To: <20060910191751.GA2271@roadrunner.buck.local>
References:  <20060910191751.GA2271@roadrunner.buck.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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 (Олександр Коваленко)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1158423516.946.2.camel>