Am 27.05.25 um 12:59 schrieb Fiona Ebner:
>  sub get_base {
> -    return '/dev';
> +    if (!$base_dir) {
> +     $base_dir = -e '/dev/zvol' ? '/dev/zvol' : '/dev';
> +    }
> +    return $base_dir;
>  }
>  

Of course, this is completely wrong, because the path would need to be
checked on the remote system. I'll also go for the cleaner approach with
using a storage configuration property while at it.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to