Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mxmount: Avoid mounting /amd/host/0 a second time
When booting from a usb stick, `/amd/mxonastick/0` is explicitly mounted with a label other than data0. However, if there is an existing "data0" filesystem (e.g. on the internal hdd), this is mounted on top of it. There is code to avoid that in mxmounts, but it doesn't work because `DEFAULT_MOUNT_PREFIX` contains `/amd/SHORTHOST` and so the path is compared to `/amd/SHORTHOST/$hostname/0` instead of `/amd/$hostname/0`. Fixes 6c9441e ("fix data0 destination overmount")
- Loading branch information