• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Drivers
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Defer
  • Reported Version Release 3.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by fg - 2010-05-29
Last edited by fg - 2012-01-24

FS#11332 - Loopback filesystem support

This patch adds preliminary support for loopback-mounting a disk image.
This isn’t very useful as such, but with some more work this could be used to export arbitrary disk images as USB devices, possibly even (with some more USB work) CD-ROM devices. With this sort of feature, it would become possible to carry random bootable rescue images on a DAP.

What works now is mounting an image within rockbox on a non-hotswap target. The image is also exported over USB currently, but this is dangerous since the main disk (which has the image) is also exported. Also, this only works by accident because unmounting a filesystem doesn’t forcibly close file handles.

What needs more work:
- HAVE_HOTSWAP currently that only one driver supports hotswappable disks on a given target. This needs to be cleaned up.
- the USB code needs a mechanism to only export selected disks. This might actually be useful for other usecases as well (e.g. it might be possible to export the SD card slot while playing audio from the internal storage), but that would need even more work

Closed by  fg
2012-01-24 20:42
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This now tracked in gerrit, at /r/67


Available keyboard shortcuts


Task Details

Task Editing