summaryrefslogtreecommitdiff
path: root/tmpfs.disabled
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfs.disabled')
-rw-r--r--tmpfs.disabled/README23
-rw-r--r--tmpfs.disabled/options1
2 files changed, 24 insertions, 0 deletions
diff --git a/tmpfs.disabled/README b/tmpfs.disabled/README
new file mode 100644
index 0000000..cf9b913
--- /dev/null
+++ b/tmpfs.disabled/README
@@ -0,0 +1,23 @@
+Live-Helper: Build using tmpfs
+==============================
+
+just rename this directory to "tmpfs" to enable.
+
+you may specify mount-options in the "options"-file in this directory, e.g.
+"size=6G" to set the maximum size of the ramdisk to 6GB.
+
+"lh build" will then mount a tmpfs into this directory and the build process
+will take place there.
+
+after the build the result and the cache will reside on the tmpfs, so if you
+want to keep them you should move or copy them to somewhere else.
+everything inside the "tmpfs" directory will be lost when umounting it, so if
+you want to save the cache for later builds you have to move (or copy) it:
+
+ mv tmpfs/cache .
+
+live-helper will not umount the "tmpfs" unless you run "lh clean --tmpfs"
+or "lh clean --all", so if you are going to do multiple builds without
+umounting the "tmpfs" you do not need to backup the cache, it will stay there
+and will be used for the next build.
+
diff --git a/tmpfs.disabled/options b/tmpfs.disabled/options
new file mode 100644
index 0000000..560761c
--- /dev/null
+++ b/tmpfs.disabled/options
@@ -0,0 +1 @@
+size=6G