aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-25 22:52:48 +0900
committerOphestra <cat@gensokyo.uk>2025-08-25 22:52:48 +0900
commitc328b584c0449e846f8d49976df65fce657c2a67 (patch)
treea10fa3d86bd814d7f299836b0032ec6b5bd89cd0 /cmd
parent9585b35d5b4e91bb327e3eddb229d1b711eeec2f (diff)
hst/fslink: improve string representation
This shortens the representation of most common use cases and generally improves readability. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/print_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/hakurei/print_test.go b/cmd/hakurei/print_test.go
index 2002c60e..b60c5dc9 100644
--- a/cmd/hakurei/print_test.go
+++ b/cmd/hakurei/print_test.go
@@ -51,8 +51,8 @@ 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/current-system
- &/run/opengl-driver:*/run/opengl-driver
+ /run/current-system@
+ /run/opengl-driver@
w*/var/lib/hakurei/u0/org.chromium.Chromium:/data/data/org.chromium.Chromium
d+/dev/dri
@@ -128,8 +128,8 @@ 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/current-system
- &/run/opengl-driver:*/run/opengl-driver
+ /run/current-system@
+ /run/opengl-driver@
w*/var/lib/hakurei/u0/org.chromium.Chromium:/data/data/org.chromium.Chromium
d+/dev/dri