On Mon, 4 Dec 2006 [EMAIL PROTECTED] wrote:

> yes, it was really meant VIRTUAL USB mass storage.
> 
> I want to attach a file to the linux system so that i looks like it`s a
> real USB mass storage device.
> 
> I hope, i can attach it to vmware then - i.e. use it as a USB device
> within vmware.
> 
> i gave this list another search today and i came across something
> interesting (being mentioned in some post):
> 
> http://www.linux-usb.org/gadget/file_storage.html
> 
> this looks like what i need!
> 
> if i read the some other docs correctly i should do
> 
>       modprobe dummy_hcd
>       modprobe g_file_storage file=$backing_filename
> 
> to make that virtual storage device appear
> 
> and need to do
> 
>       modprobe usb-storage
>       modprobe sd_mod
> 
> when i want to use it (i.e. mount) on the host.
> 
> can you confirm ?

That is correct.  You will also need to follow the directions for setting 
up the partition table and creating a filesystem.

> do you probably know if it works with vmware? (i.e. after doing the
> first 2 modprobe commands i assume the device will show up in vmware gui
> - see attached screenshot for what i mean)

I don't know; I haven't used VMware.  But it probably will work okay.

> i need to setup a fresh system and recompile kernel/module - so if it`s
> known to fail, i could avoid wasting time.

It ought to work.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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