diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-05 06:29:50 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-05 06:29:50 +0000 |
| commit | e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch) | |
| tree | 90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/init-diskconfig/up | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/init-diskconfig/up')
| -rw-r--r-- | examples/source/init-diskconfig/up | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/source/init-diskconfig/up b/examples/source/init-diskconfig/up index 9418910..f9fbfef 100644 --- a/examples/source/init-diskconfig/up +++ b/examples/source/init-diskconfig/up @@ -1,4 +1,5 @@ -if { redirfd -w 1 /run/disk-devices/rofs s6-echo sda1 } -if { redirfd -w 1 /run/disk-devices/rwfs s6-echo sda2 } -if { redirfd -w 1 /run/disk-devices/syncfs s6-echo sda3 } +if { s6-mkdir -p /run/disk-devices } +if { redirfd -w 1 /run/disk-devices/rofs_sinay s6-echo sda1 } +if { redirfd -w 1 /run/disk-devices/rwfs_sinay s6-echo sda2 } +if { redirfd -w 1 /run/disk-devices/syncdata_sinay s6-echo sda3 } if { redirfd -w 1 /run/disk-devices/swap s6-echo sda5 } |
