storage plugins: what is plugindata()->{content}[1]

Roland Kammerer roland.kammerer at linbit.com
Fri Feb 7 10:02:04 CET 2025


Hi all,

rather simple question I guess, but I could not find the answer in
https://pve.proxmox.com/wiki/Storage_Plugin_Development and linked
documents and looks like my grep foo is lacking today, so here we go:
I guess I know what the first hash in the 'content' array is, but what
is the second? Actually, why is there a second one?

Storage/LVMPlugin.pm:
content => [ {images => 1, rootdir => 1}, { images => 1 }]

vs.

Storage/LvmThinPlugin.pm:
content => [ {images => 1, rootdir => 1}, { images => 1, rootdir => 1}]

Best, rck



More information about the pve-devel mailing list