mirror of
https://github.com/rommapp/romm.git
synced 2026-06-29 07:16:28 +00:00
PR #3388 added hardlink-based asset import/export (os.link with a shutil.copy2 fallback) to avoid duplicating disk space. The Dockerfile VOLUME instruction listed each /romm subdirectory (resources, library, assets, config, sync) separately, which makes Docker create an independent mount point for each one — even when the user bind-mounts a single parent at /romm. Each mount point is its own st_dev, so every cross-directory os.link() failed with EXDEV and silently fell back to a full copy, defeating the optimization. Declare the parent /romm directory instead so all subdirectories share a single filesystem and hardlinks can succeed when paths reside on the same underlying host filesystem.