diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-15 03:30:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-15 04:00:55 +0900 |
| commit | 9ed3ba85eaba4bc4bd12b290dc4daf00ffe159dc (patch) | |
| tree | 03301910c40c59eb94029f1a93b1e74e21b5226a /cmd | |
| parent | 4433c993fae86634b813ee212803a84aaeedd374 (diff) | |
hst/fs: implement overlay fstype
This finally exposes overlay mounts in the high level hakurei API.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hakurei/print_test.go | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cmd/hakurei/print_test.go b/cmd/hakurei/print_test.go index c72e7ab6..0935de27 100644 --- a/cmd/hakurei/print_test.go +++ b/cmd/hakurei/print_test.go @@ -49,6 +49,7 @@ func Test_printShowInstance(t *testing.T) { Filesystem w+ephemeral(-rwxr-xr-x):/tmp/ + w*/nix/store:/mnt-root/nix/.rw-store/upper:/mnt-root/nix/.rw-store/work:/mnt-root/nix/.ro-store */nix/store */run/current-system */run/opengl-driver @@ -127,6 +128,7 @@ App Filesystem w+ephemeral(-rwxr-xr-x):/tmp/ + w*/nix/store:/mnt-root/nix/.rw-store/upper:/mnt-root/nix/.rw-store/work:/mnt-root/nix/.ro-store */nix/store */run/current-system */run/opengl-driver @@ -279,6 +281,15 @@ App "perm": 493 }, { + "type": "overlay", + "dst": "/nix/store", + "lower": [ + "/mnt-root/nix/.ro-store" + ], + "upper": "/mnt-root/nix/.rw-store/upper", + "work": "/mnt-root/nix/.rw-store/work" + }, + { "type": "bind", "src": "/nix/store" }, @@ -414,6 +425,15 @@ App "perm": 493 }, { + "type": "overlay", + "dst": "/nix/store", + "lower": [ + "/mnt-root/nix/.ro-store" + ], + "upper": "/mnt-root/nix/.rw-store/upper", + "work": "/mnt-root/nix/.rw-store/work" + }, + { "type": "bind", "src": "/nix/store" }, @@ -603,6 +623,15 @@ func Test_printPs(t *testing.T) { "perm": 493 }, { + "type": "overlay", + "dst": "/nix/store", + "lower": [ + "/mnt-root/nix/.ro-store" + ], + "upper": "/mnt-root/nix/.rw-store/upper", + "work": "/mnt-root/nix/.rw-store/work" + }, + { "type": "bind", "src": "/nix/store" }, |
