Trying to display unicode filenames for FAT32 drives

Status
Not open for further replies.

Zeromus

Cadet
Joined
Jul 19, 2016
Messages
1
Hey guys, I have a small problem with unicode filenames showing as question marks when mounting an external FAT32 drive on my FreeNAS 9.10.

When I attempt to mount my FAT32 drive with the locale switch, I get this:

Code:
[21:36:51 - 16-07-18] /mnt/Furius/chaz % sudo mount_msdosfs -o large -o ro -L en_US.UTF-8 -D UTF-8  /dev/msdosfs/MYBOOK /media/external-furius
mount_msdosfs: cannot find or load "msdosfs_iconv" kernel module
mount_msdosfs: msdosfs_iconv: No such file or directory



My current gpart output for that block device
Code:
=>       63  976773105  da0  MBR  (466G)
         63      16002       - free -  (7.8M)
      16065  976752000    1  ebr  (466G)
  976768065       5103       - free -  (2.5M)

=>        0  976752000  da0s1  EBR  (466G) [CORRUPT]
          0         62         - free -  (31K)
         62  976751938      1  !12  (466G)


It's an extended partition, but it should be able to read as it works everywhere else.

I read that the missing msdosfs_iconv requires a kldload but I don't seem to have the kernel module. I read about a few other people having this same issue and they recompiled their kernel for this module and it worked. If I really do have to recompile the kernel, what's a good guide? And would replacing the kernel require reinstalling the OS? (resetting my locale and other configurations)

It just seems really weird that FreeNAS doesn't support unicode filenames on FAT32 by default.

Using FreeBSD for the first time here, Linux sure has spoiled me :/
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
What you're trying to do is not supported in FreeNAS. The closest supported operation is a one-time import of the contents of a disk, but that doesn't seem to work reliably.
 
Status
Not open for further replies.
Top