diff --git a/userspace/marsadm b/userspace/marsadm index e645e0af..468a4204 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -4694,6 +4694,9 @@ sub eval_fn { } return get_link($path, 1); } + if (/^resource[-_]?possible[-_]?size$/) { + return get_possible_size($$env{"cmd"}, $$env{"res"}); + } # time handling and pausing if (/^time$/) { return mars_time(); @@ -5504,6 +5507,8 @@ my %trivial_globs = => "", "{disk,resource,device}-size" => "", + "resource-possible-size" + => "", "deletable-size" => "", "occupied-size"