On Tue, 22 Aug 2006, Haylock, Scott wrote:

> I'd like to make a JFFS2 root file system visible to both a windows and
> linux host PC using g_file_storage on my target device.  Can this be
> done with the g_file_storage driver?  If so, how?  Thanks!

No.

> Note: I did see on the Linux USB Gadget API Framework web pages that the
> windows host requires a VFAT formatted block device, so maybe that
> precludes this from working for the windows option...?

You may be able to find an add-on driver for Windows that will provide
support for JFFS2 file systems.  But even if you can, you would still face
the problem that with g_file_storage it's not safe for both the host and
the device to have access to the data volume at the same time.  If the
data volume contains your device's root filesystem then the device can't
stop using it, so you can't make it available to a host via
g_file_storage.

(Unless the data volume is read-only.  If you could make the root
filesystem read-only for both the host and the device, then you could
export it with g_file_storage.)

Basically, if you want to share a filesystem between two computers then
you should use a file-sharing protocol.  For instance, you might run
g_ether and use NFS or Samba.

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-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to