Simplify it a bit. - use awk /proc/mounts instead of busybox mountpoint - use sysfs to find partition and volume. This is more robust - add tests for it