0

I have an embedded machine that is running g_file_storage. I would like to be able to access the backing store in read only mode from the machine while g_file_storage is running and a host machine is dropping files into this backing store.

Any idea how one can achieve that? I know that it is not advisable, but would like to try it anyway, and I simply need read access. Won't need to modify the backing store while it is connected

4

1 回答 1

1

能够通过创建一个脚本来实现这一点,该脚本监听 dmesg 中的特定事件,该事件表明用户已将文件放在 USB 上。完成后,我们卸载驱动器,将其作为驱动器安装在机器上,抓取用户丢弃的文件,然后将驱动器重新安装为大容量存储设备

于 2011-03-27T22:07:06.190 回答