Filesystem: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(Added a tree-map with some specific file details)
Line 1: Line 1:
{{stub}}{{RightTOC}}
{{RightTOC}}
This page describes the Linux filesystem underlying the XO, particularly some unusual aspects of this implementation.
This page describes the Linux filesystem underlying the XO, particularly some unusual aspects of this implementation.


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)''


== Example Treemap of the File-system ==
== Examples Showing Tree-map of 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.]]
[[Image:Detail treemap joyride-2174.jpg|thumb|left|620px|'''Joyride 2174 treemap detail'''<br>This image indicates some of the larger files that were part of Joyride 2174, (some of the files shown will have been removed in more recent builds). It should help provide a sense of scale for the various sections that make up a build]]


[[Category:OS]]
[[Category:OS]]

Revision as of 22:06, 23 July 2008

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)

Examples Showing Tree-map of 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.
Joyride 2174 treemap detail
This image indicates some of the larger files that were part of Joyride 2174, (some of the files shown will have been removed in more recent builds). It should help provide a sense of scale for the various sections that make up a build