msdosfs: VFAT support on FAT16 filesystems?

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Sat Sep 16 09:19:11 PDT 2006


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 (Олександр Коваленко)



More information about the freebsd-current mailing list