Skip to content

mxmount: Avoid mounting /amd/host/0 a second time #307

Merged
merged 1 commit into from
Apr 25, 2023

Commits on Feb 6, 2023

  1. 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")
    david authored and donald committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    2ef44b5 View commit details
    Browse the repository at this point in the history