I hope I could do that too. However I imagine it will be hard to get a compatible memory card with is, say, 16GB/32GB, and insert it into a main stream phone. Or is my assumption wrong here? Thanks. Suli On Mon, Oct 8, 2012 at 4:28 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Mon, 8 Oct 2012, 杨苏立 Yang Su Li wrote: > >> Hi, >> >> I have noticed this mailing list has been intensively used to discuss >> patch development discussion. So please let me know if I should move >> my question to more appropriate places. >> >> In order to experiment something I need to pretend that my phone has a >> super fast SD card (faster than what is available in the market). So I >> want to simulate it through desktop ramdisk (which is basically disk >> in memory). And here is basically my plan: >> >> 1. Get an USB-OTG enabled phone (say Samsung galaxy nexus) >> >> 2. Connect this phone to a desktop via USB. >> >> 3. Naturally this phone will have some kind of USB driver running. >> >> 4. In the desktop I run the File-backed Storage Gadget (FSG), which >> make an USB host to be an USB slave, and presents a block device >> interface to the host which is backed by a ramdisk. >> >> 5. In the phone, mount the FSG mass storage just as an ordinary disk. > > Instead of going to all this trouble, why not just create a ramdisk on > the phone itself? Then you can pretend that the ramdisk is a > super-fast SD card. > > Alan Stern > -- Suli Yang Department of Physics University of Wisconsin Madison 4257 Chamberlin Hall Madison WI 53703 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html