On Thu, 31 Aug 2006, Shakthi Kannan wrote:

> Greetings!
> 
> The backing-storage for FSG mentions that:
> 
> "AN IMPORTANT WARNING! While FSG is running and the
> gadget is connected to a USB host, that USB host will
> use the backing storage as a private disk drive. It
> will not expect to see any changes in the backing
> storage other than the ones it makes. Extraneous
> changes are liable to corrupt the filesystem and may
> even crash the host. Only one system (normally, the
> USB host) may write to the backing storage, and if one
> system is writing that data, no other should be
> reading it."
> 
> http://www.linux-usb.org/gadget/file_storage.html

That's right; I wrote that warning.

Your next question is so badly phrased that I can't understand it, let
alone answer it:

> Is there any other manual method

Other than what?

>  by which we can tell
> the user

The user of which system: the host or the gadget?

> to use either the private disk or connect it
> to USB host and do read/writes to the private disk?

Ungrammatical and nonsensical.  The only "private disk" in this discussion
is the one seen by the host, so it's meaningless to talk about connecting
it.

> Is there a way by which this mutual exclusion be
> implemented in the Linux kernel?

If you mean the mutual exclusion recommended in file_storage.html above, 
the answer is No.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to