Skip to content

Commit

Permalink
make-automaps: Support Mxxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Apr 6, 2017
1 parent 515244b commit af443f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make-automaps/make-automaps
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ sub parse_jbod_line {
return "$1 $2:/amd/$2/X/$1";
} elsif ($in=~m"^(C\d+)\s+host==([^;]+);type:=link;fs:=/amd/\2/C/\1 host!=\2;type:=nfs;rhost:=\2;fs:=/amd/\2/c/\1;rfs:=/amd/\2/C/\1$") {
return "$1 $2:/amd/$2/C/$1";
} elsif ($in=~m"^(M\d+)\s+host==([^;]+);type:=link;fs:=/amd/\2/M/\1 host!=\2;type:=nfs;rhost:=\2;fs:=/amd/\2/m/\1;rfs:=/amd/\2/M/\1$") {
return "$1 $2:/amd/$2/M/$1";
} elsif ($in=~m"^(X\d+)\s+-fs:=/amd/([^/]+)/X/\1 host==\2;type:=link host!=\2;type:=nfs;rhost:=\2") {
return "$1 $2:/amd/$2/X/$1";
} else {
Expand Down

0 comments on commit af443f9

Please sign in to comment.