On Sun, 20 Feb 2005, tong changda wrote: > As mass-storage , a few more questions: > I use DiskOnChip as backing media, and also mount it on /truefs/,As you > say it is better to mount it later. Is it ok to read/write on /truefs while > at the same time r/w throught windows platform?
It's okay to read /truefs but not to write. And it's not okay to mount /truefs unless you mount it read-only. (Even that isn't totally safe.) > It seems that while add or delete the file on the smartphone, this > change can't reflect on windows platform's view, I could only see that > changes after rmmod/insmod the g_file_storage, Is this normal? Why can't > the change reflect real time? Yes, it's normal. The explanation is simple: Windows doesn't realize that another computer is using the filesystem. So it doesn't look for changes made by the smartphone and wouldn't know what to do if it found a change. If you want to be able to write to the same filesystem from two computers at the same time, you can't use g-file-storage. You'll have to use a real remote filesystem, like NFS or Samba (perhaps connected by Ethernet-over-USB). > It seems fat16 filesystem has filename limited 8 character, is it > proper to use fat16 or fat32 on UFI device? Either one is okay. FAT16 is not limited to 8-character filenames. But to use longer filenames, you must mount the filesystem using the VFAT type, not the MSDOS type. That's true for both FAT16 and FAT32. Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel