Index: disks/chapter.xml =================================================================== --- disks/chapter.xml (revision 40088) +++ disks/chapter.xml (working copy) @@ -940,10 +940,50 @@ + MTP storage + Some modern smartphones, music players and cameras adopted + µsoft; protocol Media Transfer Protocol (MTP) as a way to + share files through the USB connection. Such device can be + identified by the presence of the USB interface with interface + id equal to 0x5. MTP, contrary to USB mass storage, shares files + and directories, not the media itself. MTP isn't as well supported + as USB mass storage by operating systems. + + gphotofs from the port + graphics/fusefs-gphotofs allows + to mount MTP as a virtual fuse filesystem. + Kernel module fuse.ko, which is part of + sysutils/fusefs-kmod port, should + be loaded which can either be done from the command line: + + &prompt.root; kldload /usr/local/modules/fuse.ko + + or, in order to make it persistent during reboots, + by adding the appropriate line to the file + /boot/loader.conf: + + fuse_load="YES" + + and another line to the file + /etc/rc.conf: + + fusefs_enable="YES" + + Once fuse kernel module is loaded and MTP device + is attached, run the command to mount it as a virtual + file system: + + &prompt.root; gphotofs /some/mount/point + + This command leaves gphotofs + running as a daemon to serve file system requests. + + + Further Reading Beside the Adding - Disks and Mounting and + Disks and Mounting and Unmounting File Systems sections, reading various manual pages may be also useful: &man.umass.4;, &man.camcontrol.8;, and &man.usbconfig.8; under &os;  8.X