Previously the pull script mounted the Unassigned Device and left it mounted indefinitely. Now tracks whether it was already mounted before this run and only unmounts at the end if it wasn't - never disturbs a mount already in place for some other reason. Handled via an EXIT trap so it fires on any exit path, not just success. Found and fixed a real bug testing this: the script cd's into the mounted directory and never leaves, so the unmount was failing with "target is busy" (the shell's own cwd still being on the device) until the cleanup function explicitly cd's out first. Verified both directions live: already-mounted stays mounted after; not-mounted gets mounted, used, and cleanly unmounted again. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Client hosts
Scripts and configs that run on other hosts this project administers —
not on alpha.jayfield.org itself — one subdirectory per host, named
after it. Each subdirectory's own README.md states that host's exact
OS/version, since a script written for one host's conventions generally
will not just work unchanged on another (see ../README.md for why this
split exists at all).
Hosts
vlda-01/— the home intranet server referenced throughoutSYNC-PLAN.md(Unraid). Currently holds the pull side of thealpha→vlda-01Gitea backup.