Re: USB-OTG enabled phone mount desktop partitions via USB port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux