文件存储小工具与大容量存储小工具

时间:2012-11-22 10:21:56

标签: linux embedded usb usb-mass-storage

在嵌入式设备上,我想使用USB Gadget - Mass Storage。我在菜单中找到了两个选项,但它们没有严格定义。

在海量存储部分:

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是否专注于嵌入式世界?

1 个答案:

答案 0 :(得分: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

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