summaryrefslogtreecommitdiffstats
path: root/rsnix/src/klog.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-01 15:52:44 +0100
committersalmonik <salmonik@tuta.io>2026-11-01 15:52:44 +0100
commit316a2a239446fe927e35b029b651cbeb08ff3f48 (patch)
treec16bcc30c25c9eaad99445d2a30b703f43c0d091 /rsnix/src/klog.rs
parentbins: read user args from argv[1..]; fix date year digit (diff)
downloadrs-dos-316a2a239446fe927e35b029b651cbeb08ff3f48.tar.gz
rs-dos-316a2a239446fe927e35b029b651cbeb08ff3f48.zip
fs: /bin alias for the system volume
ADR 0006 deferred root-path unification because it "needs VFS bind/alias machinery". Implement the /bin half: paths whose first component is `bin` are rewritten to the first mounted volume whose root has a \bin directory, so `ls /bin/cli`, `cat /bin/cli/x.efi` and a binary's own fs_resolve("/bin/cli/x.efi") work without knowing the volume UID. The alias is transparent — it creates no node, so `ls /` keeps its old listing and /bin simply does not exist when no system volume is mounted — and allocates nothing for non-matching paths. exec::resolve keeps its per-file volume scan (stricter for multiple volumes). Update ADR 0006 to record the decision and what remains deferred (\etc and friends at the root).
Diffstat (limited to 'rsnix/src/klog.rs')
0 files changed, 0 insertions, 0 deletions