Filesystem: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added some pretty treemap graphics)
mNo edit summary
Line 5: Line 5:
If store data elsewhere it will be gone after the next reboot. ''[[User:Shi|Shi]] 13:57, 24 January 2008 (EST)''
If store data elsewhere it will be gone after the next reboot. ''[[User:Shi|Shi]] 13:57, 24 January 2008 (EST)''


== Treemap file-system ==
== Example Treemap of the File-system ==
[[Image:Raw-treemap-Joyride-2174.jpg|thumb|left|620px||'''Raw treemap of joyride 2174 filesystem'''<br>Uncompressed, and with all hard links shown, you can see repeating patterns from the two pristine OS installs, two run images, and the single actual running image.]]
[[Image:Raw-treemap-Joyride-2174.jpg|thumb|left|620px||'''Raw treemap of joyride 2174 filesystem'''<br>Uncompressed, and with all hard links shown, you can see repeating patterns from the two pristine OS installs, two run images, and the single actual running image.]]
[[Image:Treemap of joyride-2174.jpg|thumb|left|620px|'''Joyride 2174 treemap'''<br>You can clearly see the two OS images that have previously been installed using olpc-update. /versions/pristine is the original data, /versions/run are hard linked to pristine (unless modified by the user). Top right is the actual running OS data (hard linked to one of the /versions/run blocks). /home/olpc stores all user generated data.]]
[[Image:Treemap of joyride-2174.jpg|thumb|left|620px|'''Joyride 2174 treemap'''<br>You can clearly see the two OS images that have previously been installed using olpc-update. /versions/pristine is the original data, /versions/run are hard linked to pristine (unless modified by the user). Top right is the actual running OS data (hard linked to one of the /versions/run blocks). /home/olpc stores all user generated data.]]

Revision as of 04:50, 19 July 2008

This article is a stub. You can help the OLPC project by expanding it.

This page describes the Linux filesystem underlying the XO, particularly some unusual aspects of this implementation.

Store things you want to persist under /home/olpc

If store data elsewhere it will be gone after the next reboot. Shi 13:57, 24 January 2008 (EST)

Example Treemap of the File-system

Raw treemap of joyride 2174 filesystem
Uncompressed, and with all hard links shown, you can see repeating patterns from the two pristine OS installs, two run images, and the single actual running image.
Joyride 2174 treemap
You can clearly see the two OS images that have previously been installed using olpc-update. /versions/pristine is the original data, /versions/run are hard linked to pristine (unless modified by the user). Top right is the actual running OS data (hard linked to one of the /versions/run blocks). /home/olpc stores all user generated data.