On Tue, 14 Feb 2006, Justin Fu wrote:

> Thanks for your quick response!
> 
> I already had g_ether working, but for now, it's been placed as a back
> up plan. Other than the g_ether module, is there any other way to do
> it? Like perhaps customizing one of the modules (in a time efficient
> manner)?
> 
> What's the bad way to do it with g_file_storage?
> 
> I really am trying for to have the functionality where I can share
> data between the USB Host and the USB Device whereby, the host can
> access the same files (using the Mass Storage USB functionality) as
> the USB device.

There simply isn't a safe way of doing it.  The USB Mass Storage protocol
is designed for non-shared devices.  It hasn't got any mechanism for
allowing data to be shared between two independent systems; the host will 
always assume that nothing else can change the data.

Now you can ignore all the warnings and just go ahead with it anyway.  If 
you're lucky, you won't crash either the gadget or the host and your 
filesystem won't get corrupted.  If you possibly can, try to make sure 
that at least one of the two machines has it mounted read-only -- that 
should prevent corruption.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to