Esn said:
It strikes me that this file system is not really made for a computer with limited internal memory like the Pandora.
Indeed it isn't. (Well, it's not so much that Linux isn't suited - the same filesystem runs on a million devices with the same or less storage. From DSL routers to CCTV cameras to infinity. But we're using it more like a desktop PC). That's why so much thought and debate went into how it should all work on the Pandora.
Esn said:
The "home" or "username" directories should be by default on an SD card, probably.
...and this goes straight to the heart of said debate. You can read some opposing views on that in the comments of
this article.
On a normal Linux system, the /home/username directory does far more than catch a few documents. To use Windows terminology, all your Documents, Settings, and Application Data are installed in here, in (usually) hidden directories. You can imagine the problem of having this directory on your SD, then accidentally ejecting it, or booting without it. The filesystem would be broken, the system would stop functioning.
So /home stayed on the NAND, but that came with pitfalls of its own. If Linux functioned on the Pandora the way it does on a desktop, the NAND would probably be full within an hour of running the first setup. So they developed the PND system, which as you know uses science/magic to keep apps and app data on SD cards, which can be swapped at will without breaking the filesystem.
/media
Onward to /media and the wiki edit. If you browse to your own /media directory, you'll see quite a few things listed in there in addition to the SDs you have inserted. If it is declared as 'safe' / non-NAND zone on the wiki, and Thunar dumps you there by default, people will (i) wonder why they appear to have eight external storage devices plugged in and (ii) try to save things to random directories in there. I think the concept of /media needs to be made clearer.
For the record I don't think the original wording was great either... "the contents of that media have been placed here" implies things have been moved or copied there, instead of them being mere 'shortcuts'. My complete description would be:
External media such as SD cards, flash drives and HDDs show up in here as folders.
I don't know if Linux purists will like that, but it conveys the right message in this context IMO. Truth is people will almost never need to access /media via Thunar, when shortcuts are provided to their storage devices on the left. It's handy stuff to know though, when you're in an emulator trying to find your ROMs.
Thunar landing location
How about this idea: We create a diagram, infographic style, outling the basics of the filesystem on the Pandora (using visual elements screencapped from Thunar). It's placed in the /home dir as part of the stock firmware image. When people open Thunar, the first thing they see is a PNG or PDF saying "Hi, open me." They will instantly be informed that they are on the NAND, and shown how to avoid filling it.