>Message rejected by filter rule match

whoops - sorry, i forgot that attachments are problematic with mailing 
lists.

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

the mentioned attachment is at 
http://www.computerkeek.de/projects/virtual-usb/screenshot.png now

roland


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Alan Stern" <[EMAIL PROTECTED]>
Cc: <linux-usb-users@lists.sourceforge.net>
Sent: Monday, December 04, 2006 6:17 PM
Subject: Re: [Linux-usb-users] Virtual USB mass storage - anyone ?


Hello Alan,

> I don't know about Windows, but in Linux you can use the loop driver
> (/dev/loop0) and the losetup program.

yes, sure - that`s easy - i already know - using it quite often.

> $SUBJECT says "Virtual USB mass storage" but the text of your message
> only says "virtual mass storage device" without the USB, so it's not
> exactly clear what you want.

sorry to be unclear here.

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 ?

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

regards
roland




> -----Ursprüngliche Nachricht-----
> Von: Alan Stern <[EMAIL PROTECTED]>
> Gesendet: 04.12.06 16:59:16
> An: [EMAIL PROTECTED]
> CC: linux-usb-users@lists.sourceforge.net
> Betreff: Re: [Linux-usb-users] Virtual USB mass storage - anyone ?


> On Sun, 3 Dec 2006 [EMAIL PROTECTED] wrote:
>
> > Hello !
> >
> > I`m seeking for a solution, to map a file as virtual mass storage device
> > for some time now.
> >
> > In theory, i think this should be possible - but i searched the net for
> > some long time now and didn`t find any solution, neither windows nor
> > linux.
> >
> > this would be useful for easy exchange of data between vmware virtual
> > machine and host operating system (think of virtual usb stick) or this
> > would be useful for testing purpose.
> >
> > for example, here is another person requesting it in the vmware forum,
> > so i think i`m not alone and this demand isn`t too weird:
> >
> > http://www.vmware.com/community/message.jspa?messageID=521858
> >
> > does anybody know about an existing solution or is anybody working on
> > this (on linux). it doesn`t matter for me if this exists for linux or
> > windows, but maybe chances being better that it exists or being
> > developed for linux, so that`s why i`m asking here.
>
> I don't know about Windows, but in Linux you can use the loop driver
> (/dev/loop0) and the losetup program.
>
> $SUBJECT says "Virtual USB mass storage" but the text of your message
> only says "virtual mass storage device" without the USB, so it's not
> exactly clear what you want.
>
> Alan Stern
>
>


______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's 
Cup-Yacht!



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