We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93b8b9 commit 92d68f8Copy full SHA for 92d68f8
1 file changed
crypt.awk
@@ -3,7 +3,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next }
3
{
4
# decode the src variants
5
split($2, o_src, "=")
6
- if (o_src[1] == "UUID") ("blkid -l -o device -t " $2) | getline src;
+ if (o_src[1] == "UUID" || o_src[1] == "PARTUUID") ("blkid -l -o device -t " $2) | getline src;
7
else src=o_src[1];
8
9
# no password or none is given, ask fo it
0 commit comments