aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-08 02:21:25 -0500
committerDave Reisner <d@falconindy.com>2010-01-08 02:21:25 -0500
commit8cbffd631c3e8be284782efdeda0341f88b55b83 (patch)
tree91bb57cec1033d9fd99cd51b40bf5a274904e398
parentc4be146c2c408debdc777f049e969fb87e5ef667 (diff)
downloadsquashfu-8cbffd631c3e8be284782efdeda0341f88b55b83.tar.gz
More description, add external links
-rw-r--r--DOCUMENTATION20
1 files changed, 17 insertions, 3 deletions
diff --git a/DOCUMENTATION b/DOCUMENTATION
index 68288b0..fb435d1 100644
--- a/DOCUMENTATION
+++ b/DOCUMENTATION
@@ -21,9 +21,16 @@ Design:
|-6/ <-- Saturday incremental
|-7/ <-- Sunday incremental
- seed.sfs is created from an initial backup and compressed using SquashFS. It
- is then mounted, using a loopback device on ro/. Using aufs2, a union mount is
- formed by ro/ and each of the numbered bins, each corresponding to a day.
+ seed.sfs is created from an initial backup and compressed using SquashFS, which i
+ is simply a filesystem which focuses on compression, but is read only. It's mounted,
+ using a loopback device, on ro/. Using aufs2, a union mount is formed by ro/ and each
+ of the numbered bins, each corresponding to a day.
+
+ Wait, wat? What the heck IS a union mount? In simple terms, a union combines multiple
+ directories (which themselves could also be mount points) into a single resultant
+ mount point. Using our directory structure above as an example, each day (bin) is
+ overlayed (in order, its important) on the base (seed.sfs) to create what appears
+ to be an up to date backup in rw/. Skip the rest if you've had enough.
At the time of the backup, the day is determined in order to prepare the union. If
today is Thursday, `date +%u` returns 4. In order for rsync to properly create our
@@ -41,3 +48,10 @@ Warnings:
cause irrepairable damage to the union, rendering your incrementals worthless.
+Further reading:
+ http://en.wikipedia.org/wiki/Aufs
+ http://en.wikipedia.org/wiki/UnionFS
+ http://aufs.sourceforge.net/
+ http://en.wikipedia.org/wiki/SquashFS
+ http://en.wikipedia.org/wiki/Rsync
+