2012-11-22 101 views
2

在嵌入式设备上,我想使用USB小工具 - 大容量存储。我在菜单中找到了两个选项,但它们没有严格定义。文件存储小工具vs大容量存储小工具

在大容量存储部分:

This is heavily based on File-backed Storage Gadget and in most 
cases you will want to use FSG instead. This gadget is mostly 
here to test the functionality of the Mass Storage Function 
which may be used with composite framework. 
If unsure, consider File-backed Storage Gadget. 

有人能写出更多的细节?

FSG是否专注于嵌入式世界?

回答

2

大容量存储小工具是文件存储小工具的改进版本。根据官方文档:

File Storage Gadget has been removed in Linux 3.8. All users need to transition to the Mass Storage Gadget.

(来源:https://www.kernel.org/doc/Documentation/usb/mass-storage.txt

同一页面还列出了模块之间的差异(没有太大 - 一些参数是不同的命名/有不同的格式)

+0

见也http://www.linux-usb.org/gadget/file_storage.html –