Rockbox Development > Feature Ideas
Seamless Memory Card Integration
AlexP:
How would this play with dircache?
saratoga:
--- Quote from: GodEater on January 11, 2010, 02:49:29 AM ---The only way I can think to do this is to implement something like UnionFS in Rockbox's core.
This present's several challenges, not the least of which being that "Implementing new filesystems" is on the Rockbox NODO list. Also, I can't see any way you could do this as a plugin, it would have to be in the core.
--- End quote ---
FWIW this is something Llorean and I have discussed doing before after seeing it work in XBMC. We don't need a new file system. Instead when you load dircache, you just recursively merge folders in both volumes. Writes go to whichever disk contains a folder, unless both do, in which case you just have a default disk. I spent some time looking into it but never really got anywhere with it due to knowing so little about that part of rockbox.
JdGordon:
I would totally ignore dircache for now (the only multi-storage devices are flash and it can be argued that dircache acheives nothing on those targets).
I (very naively) think this can be done with only changing open() and dirread(). I might have a go this arvo at it...
gulak:
I implemented something like this sometime in 2008. As far as I can tell is that I only made modifications in these three files:
filetree.c, onplay.c, playlist.c
--- Quote from: JdGordon on January 11, 2010, 02:45:39 AM ---everyone else seems content with the microSD slot coming up as <microSD> in the filebrowser
--- End quote ---
Not everyone.
saratoga:
--- Quote from: gulak on January 11, 2010, 03:35:12 PM ---I implemented something like this sometime in 2008. As far as I can tell is that I only made modifications in these three files:
filetree.c, onplay.c, playlist.c
--- Quote from: JdGordon on January 11, 2010, 02:45:39 AM ---everyone else seems content with the microSD slot coming up as <microSD> in the filebrowser
--- End quote ---
Not everyone.
--- End quote ---
Post the patch.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version