This allows your devices act as a USB mass storage like external hard drive or thumb drive.
Currently, the g_mass_storage module is not compiled as part of default kernel configuration.
To enable this, follow same kernel building information as previous section USB Ethernet support but instead of compiling “Ethernet Gadget”, select the following to “m”:
Device Drivers ---> USB support ---> USB Gadget Support ---> <M> Mass Storage Gadget
You can now continue following manual build howto to continue kernel compilation and installation.
See “Backing Storage for the Mass Storage Gadget” for full instructions and recommendations.
Be aware that shared storage cannot be used in “read write” mode if both systems (device and host) are using it at same time except if you accept to corrupt your data…
An existing physical partition or a logical volume can be used as shared storage device; another