From f2a8ee99b854d3f323bf7872a90945f698a5fc89 Mon Sep 17 00:00:00 2001 From: Yorick Downe Date: Tue, 11 Aug 2026 04:29:34 -0400 Subject: [PATCH] Revert DOCKER_ROOT_MOUNTPOINT handling --- ethd | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ethd b/ethd index 6fb2ecd0..1080f912 100755 --- a/ethd +++ b/ethd @@ -289,11 +289,13 @@ __handle_docker() { # Determine the real mountpoint backing DOCKER_ROOT, so Grafana dashboards # can report disk usage for that filesystem instead of always "/" - if command -v findmnt >/dev/null; then - DOCKER_ROOT_MOUNTPOINT=$(findmnt -T "${DOCKER_ROOT}" -o TARGET -n) - else - DOCKER_ROOT_MOUNTPOINT=$(df --output=target "${DOCKER_ROOT}" | tail -1) - fi +# if command -v findmnt >/dev/null; then +# DOCKER_ROOT_MOUNTPOINT=$(findmnt -T "${DOCKER_ROOT}" -o TARGET -n) +# else +# DOCKER_ROOT_MOUNTPOINT=$(df --output=target "${DOCKER_ROOT}" | tail -1) +# fi +# Currently broken bcs bind mounts. Until I can find a better solution, get back to / + DOCKER_ROOT_MOUNTPOINT=/ var=DOCKER_ROOT_MOUNTPOINT __get_value_from_env "${var}" "${__env_file}" "__value" if [[ "${DOCKER_ROOT_MOUNTPOINT}" != "${__value}" ]]; then