--- cryptdisks.functions.orig 2013-12-20 19:42:02.048667466 +0100 +++ cryptdisks.functions.olo.partuuid.2013-12-20 2013-12-20 19:49:37.876503582 +0100 @@ -488,6 +488,9 @@ # parse UUID= symlinks if [ "${src#UUID=}" != "$src" ]; then src="/dev/disk/by-uuid/${src#UUID=}" + elif [ "${src#PARTUUID=}" != "$src" ]; then + # borrowed from https://patchwork.archlinux.org/patch/389/ + src="/dev/disk/by-partuuid/${src#PARTUUID=}" elif [ "${src#LABEL=}" != "$src" ]; then src="/dev/disk/by-label/${src#LABEL=}" fi @@ -599,6 +602,9 @@ egrep -v "^[[:space:]]*(#|$)" "$TABFILE" | while read dst src key opts; do if [ "xUUID=$ID_FS_UUID" = "x$src" ]; then src="/dev/disk/by-uuid/${src#UUID=}" + elif [ "xPARTUUID=$ID_PART_ENTRY_UUID" = "x$src" ]; then + # borrowed from https://patchwork.archlinux.org/patch/389/ + src="/dev/disk/by-partuuid/${src#PARTUUID=}" elif [ "xLABEL=$ID_FS_LABEL_ENC" = "x$src" ]; then src="/dev/disk/by-label/${src#LABEL=}" elif [ "x$1" != "x$src" ]; then