![]() |
2013-08-28
, 18:25
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#22
|
There's one idea I have been thinking about but not yet gone on experimenting stage;
Benefits: Now the partitions could be kept mounted while exporting, without ill effects to the device. All parttions could easily be exported, not just MyDocs.
The Following User Says Thank You to jackburton For This Useful Post: | ||
![]() |
2013-08-28
, 21:08
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#23
|
What's the use case for this? Why would you want to update the files from both places at once?
As long as the g_file_storage or g_mass_storage driver is being used, it cannot be done with the kernel modules as-is.
http://www.linux-usb.org/gadget/file_storage.html
![]() |
2013-08-28
, 22:48
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#24
|
- there are applications that cannot run when MyDocs is not mounted, for example the camera and things like Easy Debian which have loop-mounted rootFS on MyDocs
- If you have these kind of applications running, you cannot umount MyDocs before closing them
The whole shebang would be simpler if there was a module that had this kind of functionality:[LIST][*]both USB ethernet and USB memory storage modes in one gadget
modprobe g_multi file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1 iSerialNumber=${SERIAL_NUMBER} iManufacturer=Circuitco iProduct=BeagleBone${BLACK} host_addr=${cpsw_1_mac}
[*]ability to export the backing storage in read/write mode without collisions in the locally mounted storage
![]() |
2013-08-29
, 19:18
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#25
|
![]() |
2013-08-30
, 13:27
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#26
|
That would be great!
In the meantime, does any one know how to setup unfs3 on harmattan?
I can't find any good documentation on how to do that...
![]() |
2013-08-30
, 23:11
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#27
|
![]() |
2013-08-30
, 23:33
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#28
|
![]() |
2013-09-01
, 16:38
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#29
|
In the meantime, does any one know how to setup unfs3 on harmattan?
I can't find any good documentation on how to do that...