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

Re: [Xen-devel] usb storage vitualization



> Does it just work? USB storage devices would probably alter all the time
> in terms of their major and minor numbers, and would come and go as hot
> pluggable devices do. Maybe udev takes care of all this though.

Weeell, as long as you keep the thing plugged in while you're using it you 
shouldn't have any problems exporting the device like any other block device, 
so in that sense it should work fine.

Unfortunately, as you rightly point out, by the time you've rebooted dom0 and 
plugged / unplugged devices a few times you may find that your USB storage 
device has different major / minor.  On non-udev setups, it's quite possibly 
going to have a different device node altogether, which will mean your config 
file needs updating...

I tend to agree that udev should solve this problem, however, since you'll be 
able to configure that device to always bind to the same device node.  
Whenever you create the domain, it'll look up the major / minor associated 
with that device node and everything should work fine.

Cheers,
Mark

> I ask because i'm interested in doing this too.
>
> James
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&op=Click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.