--- new/genfstab.in 2015-07-23 12:22:49.296352779 +0200 +++ old/genfstab.in 2015-07-23 12:23:37.630014979 +0200 @@ -119,7 +119,7 @@ shift $(( OPTIND - 1 )) (( $# )) || die "No root directory specified" -root=$1; shift +root="$(realpath -eL $1)"; shift if ! mountpoint -q "$root"; then die "$root is not a mountpoint"