Filesystem: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added some pretty treemap graphics)
m (contrast and link to JFFS2 and UBIFS onXO)
 
(4 intermediate revisions by one other user not shown)
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 ''contents'' of the Linux filesystem underlying the XO, particularly some unusual aspects of its use.

See [[JFFS2]] and [[UBIFS on XO]] for the ''implementation'' of the file system on the XO.


==Store things you want to persist under /home/olpc==
==Store things you want to persist under /home/olpc==
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 Showing Filesystem Raw Treemap ==
== Treemap 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|none|620px||'''Raw treemap of joyride 2174 filesystem'''<br>Uncompressed, and with all hard links shown, you can see repeating patterns from 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.]]
== Filesystem Treemap Sections ==
[[Image:Treemap of joyride-2174.jpg|thumb|none|620px|'''Joyride 2174 treemap'''<br>You can 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 (Journal entries, Activities, etc).]]

== Treemap Detail Breakdown ==
[[Image:Detail treemap joyride-2174.jpg|thumb|none|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 here will have been removed in more recent builds). It should help provide a sense of scale for the various sections that go to make up a build]]


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

Latest revision as of 19:41, 10 October 2008

This page describes the contents of the Linux filesystem underlying the XO, particularly some unusual aspects of its use.

See JFFS2 and UBIFS on XO for the implementation of the file system on the XO.

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 Showing Filesystem Raw Treemap

Raw treemap of joyride 2174 filesystem
Uncompressed, and with all hard links shown, you can see repeating patterns from two 'pristine' OS installs, two 'run' images, and the single actual 'running' image.

Filesystem Treemap Sections

Joyride 2174 treemap
You can 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 (Journal entries, Activities, etc).

Treemap Detail Breakdown

Joyride 2174 treemap detail
This image indicates some of the larger files that were part of Joyride 2174, (some of the files shown here will have been removed in more recent builds). It should help provide a sense of scale for the various sections that go to make up a build