#!/bin/sh IFS=' ' types=${SB_DISK_FS:-ext2,ext3,ext4,xfs,btrfs} first=true for mnt in $(findmnt -Py -t "$types"); do eval "$mnt" [ -d "$TARGET" ] || break [ "$TARGET" = "/var/lib/docker" ] && break [ "$first" = "false" ] && printf " | " printf "%b" "${TARGET}: $(df -H "$TARGET" | awk ' /[0-9]/ {print $3 "/" $2}')" first=false done printf "\n"