aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source/mount-sync
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-05 06:29:50 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-05 06:29:50 +0000
commite18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch)
tree90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/mount-sync
parent09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff)
downloads6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/mount-sync')
-rw-r--r--examples/source/mount-sync/dependencies1
-rw-r--r--examples/source/mount-sync/down2
-rw-r--r--examples/source/mount-sync/up4
3 files changed, 4 insertions, 3 deletions
diff --git a/examples/source/mount-sync/dependencies b/examples/source/mount-sync/dependencies
index 9bd14f7..3ec016a 100644
--- a/examples/source/mount-sync/dependencies
+++ b/examples/source/mount-sync/dependencies
@@ -1 +1,2 @@
init-diskconfig
+init-coldplug
diff --git a/examples/source/mount-sync/down b/examples/source/mount-sync/down
index 1f0fdc1..dc2cc56 100644
--- a/examples/source/mount-sync/down
+++ b/examples/source/mount-sync/down
@@ -1 +1 @@
-s6-umount /mnt/syncfs
+s6-umount /mnt/syncdata
diff --git a/examples/source/mount-sync/up b/examples/source/mount-sync/up
index fb0bab0..cfb0bc6 100644
--- a/examples/source/mount-sync/up
+++ b/examples/source/mount-sync/up
@@ -1,3 +1,3 @@
s6-envdir -i /run/disk-devices
-importas -i syncfs syncfs
-s6-mount -wt ext4 -o barrier=0,sync,nodev,noexec,nosuid /dev/${syncfs} /mnt/syncfs
+importas -i syncdata_sinay syncdata_sinay
+s6-mount -wt ext4 -o barrier=0,sync,nodev,noexec,nosuid /dev/${syncdata_sinay} /mnt/syncdata