El jue, 30-04-2020 a las 13:39 +0200, josef Reidinger escribió:

> Yes, it is good point. Question to imo how it is exported by autoyast
> clone, as it is string and not disksize element. So unless storage
> use some kind of hack, I think it is not possible to get such type
> automatic. Of course user written partitioning can be problem if we
> mention this type in documentation.
> For that case we can accept it same as string. So it really depends
> if we write it during clone or mention it in documentation (btw not
> for ages as it is for storage-ng). In such cases we should mark this
> type as deprecated for SLE16 and remove it in SLE17?

Regarding AutoYaST, we are on the safe side. We do not consider or
export that type. We simply use a regular string. Bear in mind that
when dealing with the size, AutoYaST can receive a disk size, or "auto"
or "max".

Regards,
Imo

[1] 
https://github.com/yast/yast-storage-ng/blob/master/src/lib/y2storage/autoinst_profile/partition_section.rb#L145
[2] 
https://github.com/yast/yast-storage-ng/blob/master/src/lib/y2storage/proposal/autoinst_size_parser.rb

-- 
Imobach González Sosa
YaST Team at SUSE LLC
https://imobachgs.github.io/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to