Hi!
For a usb related feature, we would like to support other filesystem formats than FAT (and ext* of course).
However, I was not able to get it working. I tested with different USB drives, from different vendors. The filesystem formatting was done on a Windows 10 computer.
NTFS:
First of all, i tried to enable ntfs directly in the kernel with the following params:
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y
My second attempt was to include the ntfs-3g-ntfsprogs
package. (ntfs-3g driver via FUSE)
Both results into an access error:
root@colibri-imx6:/media# ls -l
drwxrwx--- 2 root disk 16384 Jan 1 1970 mmcblk0p1
drwxrwx--- 2 root disk 32768 Jan 1 1970 mmcblk1p1
drwx------ 1 root root 4096 Mar 29 10:12 sda1
root@colibri-imx6:/media# cd sda1/
root@colibri-imx6:/media/sda1# touch test.txt
touch: test.txt: Permission denied
root@colibri-imx6:/media/sda1#
Also sda1
should be mounted with root:disk not root:root.
exFAT:
I enabled exFAT support by including the fuse-exfat
package (exFAT via FUSE). However, this results into an error:
root@colibri-imx6:/media# ls -l
ls: ./sda1: Transport endpoint is not connected
drwxrwx--- 2 root disk 16384 Jan 1 1970 mmcblk0p1
drwxrwx--- 2 root disk 32768 Jan 1 1970 mmcblk1p1
root@colibri-imx6:/media# cd sda1
-sh: cd: sda1: Not a directory
root@colibri-imx6:/media#
However, if I unmount and remount the device, it works:
root@colibri-imx6:/media# umount sda1
root@colibri-imx6:/media# mount -t exfat /dev/sda1 ./sda1/
FUSE exfat 1.2.3
WARN: volume was not unmounted cleanly.
root@colibri-imx6:/media# cd sda1/
root@colibri-imx6:/media/sda1# ls
System Volume Information
root@colibri-imx6:/media/sda1# touch test.txt
root@colibri-imx6:/media/sda1# ls
System Volume Information test.txt
root@colibri-imx6:/media/sda1#
Any suggestions about this topic?
BR Christian