summaryrefslogtreecommitdiff
path: root/examples/ROOT/img/tmpfs
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-03-01 07:28:43 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-03-01 07:28:43 +0000
commit0e23f8f864a795214506918de4f7f5897f5e0730 (patch)
treec29c378e6b465488a63d25407fc4b80ce97b9174 /examples/ROOT/img/tmpfs
parent1473905fd7b31abafb54929fbd3c84e53cdc7841 (diff)
downloads6-0e23f8f864a795214506918de4f7f5897f5e0730.tar.xz
Cleanup changes in examples/ (thanks Colin Booth)
Diffstat (limited to 'examples/ROOT/img/tmpfs')
-rw-r--r--examples/ROOT/img/tmpfs/README4
-rwxr-xr-xexamples/ROOT/img/tmpfs/service/s6-svscan-log/run2
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/ROOT/img/tmpfs/README b/examples/ROOT/img/tmpfs/README
index 3b329e4..0a9035d 100644
--- a/examples/ROOT/img/tmpfs/README
+++ b/examples/ROOT/img/tmpfs/README
@@ -4,4 +4,6 @@ during stage 1 init, so the basics are covered for stage 2:
- /tmp points to a real, writable temporary directory
- /service points to a real, writable scan directory that
already contains basic services (s6-svscan's own logger and
-an early getty).
+an early getty)
+ - /mnt/tmpfs/uncaught-logs is the place in RAM where the
+catch-all logger stores and rotates its logs.
diff --git a/examples/ROOT/img/tmpfs/service/s6-svscan-log/run b/examples/ROOT/img/tmpfs/service/s6-svscan-log/run
index 7536e1f..47eb828 100755
--- a/examples/ROOT/img/tmpfs/service/s6-svscan-log/run
+++ b/examples/ROOT/img/tmpfs/service/s6-svscan-log/run
@@ -3,7 +3,7 @@ redirfd -w 2 /dev/console
redirfd -rnb 0 fifo
s6-setuidgid nobody
exec -c
-s6-log -bp t /tmp/uncaught-logs
+s6-log -bp t /mnt/tmpfs/uncaught-logs
# The -p option is important:
# even if s6-svscan is told to kill everything,