In path use parsed volname not the volid and add 'basevol'
This commit is contained in:
committed by
Dietmar Maurer
parent
3672677da5
commit
74b724a699
@ -148,7 +148,7 @@ sub path {
|
||||
my $path = '';
|
||||
|
||||
if ($vtype eq "images") {
|
||||
if ($volname =~ m/^subvol-/) {
|
||||
if ($name =~ m/^subvol-/ || $name =~ m/^basevol-/) {
|
||||
# fixme: we currently assume standard mount point?!
|
||||
$path = "/$scfg->{pool}/$name";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user