Discussion about UnionFS from #rockbox-community
07:52 <JdGordon|> GodEater: dont say other filesystems are nodo :( ... i do sort of want to get NFS going on the mini2440 :p
07:52 <JdGordon|> which of course requires me to get around to installing rockbox on it
07:52 <GodEater> JdGordon|: well, they are
07:52 <GodEater> that being said, I do quite like the idea of unionfs
07:53 <GodEater> I'm not a fan of the <microsd1> thing
07:53 <JdGordon|> nothing except hardware related stuff is ever a real NoDo :D
07:53 <JdGordon|> it could actually be really simple to implement
07:53 <GodEater> the big problem I see with other filesystem support is windows users
07:54 <GodEater> a lot of whom would likely guy "huh? What's a filesystem?"
07:54 <JdGordon|> how does unionfs do file writing?
07:55 <GodEater> no idea - read the code :)
07:57 * JdGordon| suspects adding read support could be as simple as adding a few lines of code
07:57 <JdGordon|> hmm... should even be able to en/disable it on the fly
07:58 <JdGordon|> dircache would probably not play nice though
07:59 <GodEater> according to http://www.evolware.org/chri/hopeless.html there's a concept of "priority" with the filesystems you mount
07:59 <GodEater> so I guess writes go to the one with the highest priority
07:59 <GodEater> I imagine we could make this work once Rockbox does MTP properly
08:00 <GodEater> then the host support of the filesystem becomes a non issues.
08:00 <GodEater> but it does mean it'd only work on players where we have our own USB stack
08:01 <JdGordon|> na, once its connected to usb its not rockbox's problem anymore
08:02 <GodEater> that's true only if you're using UMS
08:03 <GodEater> yay, package state has finally changed to "with delivery courier"
08:03 <GodEater> JdGordon|: I found this too : http://www.linuxjournal.com/article/7714
08:05 <JdGordon|> too long to read at this time of night :)
08:05 <JdGordon|> umm... morning :p
08:06 <JdGordon|> we could stick a <unionFS> "mount point" in the / directory
08:06 <JdGordon|> which is read only
08:08 <JdGordon|> this could have some serious fun stuff.... if the SD card has priority you could setup the .rockbox folder on the internal storage with no settings at all, so if oyu boot with no card you get default everything
08:09 * JdGordon| hates it when fun ideas show up after bed time
08:09 <pixelma> what about same named files (in same named subfolders) on the card and on the internal memory? Although this discussion might be better suited for the main chan
08:10 <JdGordon|> im not in main chan :p
08:10 >>>> petur (n=petur@rockbox/developer/petur) has joined #rockbox-community
08:10 <GodEater> pixelma: that's where the priority thing comes in
08:10 <JdGordon|> very simple precendance... if /music/a.file is in internal storage (or whichever has higher priority) it doesnt try the other
08:10 <GodEater> if you have the same file in two matching places, the higher priority one is used
08:11 <pixelma> he could simply use the database (if he's talking audio files)
08:11 <JdGordon|> same file NAME... not file
08:11 <GodEater> pixelma: he could, but he specifically mentions he doesn't rely on tagging