Skip to content

mxmount: Avoid mounting /amd/host/0 a second time #307

Merged
merged 1 commit into from
Apr 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion mxmount/mxmount
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sub add_data0_if_not_present {
if ($mp->{label} eq "data0") {
return;
}
if ($mp->{mountpoint} eq "$V{DEFAULT_MOUNT_PREFIX}/$hostname/0") {
if ($mp->{mountpoint} eq "/amd/$hostname/0") {
print STDERR "$mp->{mountpoint} already blocked by $mp->{label}\n";
return;
}
Expand Down