Krikri::PluginHelpers::LvolSize::Parsed
Constructors
Instance methods
clone
Sourcecopy_with(operator _operator = @operator, percent _percent = @percent, whole _whole = @whole, value _value = @value, opt _opt = @opt, value_unit _value_unit = @value_unit, units_flag _units_flag = @units_flag)
Sourceoperator
"+", "-" or nil - the resize direction prefix
opt
"L" (absolute/--size) or "l" (extents/--extents)
percent
the N of N%WHOLE, nil for absolute sizes
units_flag
the --units flag value vgs/lvs are queried with: real module's
unit variable - always "m" for extents, else value_unit
value
the bare numeric string (operator and unit stripped)
value_unit
unit letter appended to the -L/-l value: "" for extents, the (possibly implicit) unit letter otherwise
whole
"VG"/"PVS"/"FREE"/"ORIGIN", nil for absolute sizes