LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Fuse kernel module and Library communication (http://www.linuxquestions.org/questions/linux-server-73/fuse-kernel-module-and-library-communication-4175444341/)

kronus 01-06-2013 03:28 AM

Fuse kernel module and Library communication
 
Fuse documentation says, "All communication between fuse kernel module and fuse library happens through /dev/fuse character device".

Now my question, since we can mount multiple fuse based file system, and there is always one kernel module. How is the correctness ensured, when multiple user space filesystem communicate with kernel module through /dev/fuse.

theNbomr 01-07-2013 04:55 PM

AFAIK, as long as there is a distinct mountpoint used by each of your VFS applications, there should be no problem. My analysis is that the mountpoint is where the kernel maps the filesystem type to the respective driver, whereas the /dev/fuse device is just a channel that lets userspace talk to the driver.
--- rod.


All times are GMT -5. The time now is 08:18 PM.