Re: Directory to expose for USB mass storage device function
- From: "Silver" <moc.liamtoh@gnirrevliseht>
- Date: Fri, 22 Aug 2008 09:06:08 -0700
I assumed your host was the CE device, as opposed to CE being the client. What you seem to want is the CE device to be the USB Mass Storage Device - and you want to share a folder on the CE device and expose that to a USB Host. Sorry, my bad.
USB Mass Storgae export a 'store', that is a partition on a block device, rather than part of a directory tree - this is because USB mass storage operates using block device commands rather than file system commands and hence the host can controller the file system on the device.
Your best bet will be to carve your flash into more than one partition and expose part of it as DSK2: (or whatever). The new partition can then be mounted by the mass storage driver and also somewhere in your directory tree by CE.
Note, you can do this with a RAM disk too.
Geoff
--
.
- Follow-Ups:
- Re: Directory to expose for USB mass storage device function
- From: RickardF
- Re: Directory to expose for USB mass storage device function
- Prev by Date: Re: Directory to expose for USB mass storage device function
- Next by Date: Re: ILTIMING not started
- Previous by thread: Re: Directory to expose for USB mass storage device function
- Next by thread: Re: Directory to expose for USB mass storage device function
- Index(es):
Relevant Pages
|