Bug 199934 - FUSE kernel module fails with filesystems without .create support
Summary: FUSE kernel module fails with filesystems without .create support
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2015-05-04 17:28 UTC by samm
Modified: 2016-01-03 14:01 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description samm 2015-05-04 17:28:47 UTC
As maintainer of the exfat-fuse package i found that it does not work anymore on FreeBSD. Problem is that it does not implement create() call, but according to the docs [1] it should not break anything, because 

"If this method is not implemented or under Linux kernel versions earlier than 2.6.15, the mknod() and open() methods will be called instead.". This logic is supported in the Linux, see http://lxr.free-electrons.com/source/fs/fuse/dir.c#L499, but FreeBSD will just return EINVAL. Old pre-10 driver was also working correclty with EXFAT-FUSE, so it is regression cause by new driver. To test it - mount exfat fs and try to create any file, fuse will fail. 

[1] http://fuse.sourceforge.net/doxygen/structfuse__operations.html#a97243e0f9268a96236bc3b6f2bacee17
Comment 1 samm 2015-05-04 17:29:19 UTC
Also see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199874 for the original description
Comment 2 freebsd 2016-01-03 14:01:59 UTC
Is anyone looking at this? It makes using larger capacity USB sticks across OSes pretty impossible as well as large capacity music players.