ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/AutoinstPartPlan.ybc

YaST bytecode 1.4.0AutoinstPartPlanPAutoinstPartPlan.ycpautoinstall/types.ycp
PartitionT	DriveT	AutoinstPartPlanT	DialogT
autoinstall/common.ycpAutoinstStorage
currentDialog
	stack

currentEventreplacement_point
dialogs	

	addDialog	

symbol2string	

string2symbol
	
toItemList	updateCurrentDialog
		getDialog
	prepareStackcallDialogFunction

eventHandled
getTypePrefix		stripTypePrefix		removePrefix				addPrefix			autoinstall/tree.ycpsTree
iTreesetTreecurrentTreeItem	isContainedInTree
 termContains
!selectTreeItem	"createTreeNode		#AutoinstCommon$
AutoinstDrive%AutoinstPartition&Summary'Popup(Mode)StorageDevices*Storage+
Partitions,AutoPartPlan	-modified.SetModified/GetModified0internalGetDrive		1internalGetDriveByListIndex		2internalGetListIndex	3internalAddDrive			4internalRemoveDrive		5internalUpdateDrive			6internalGetAvailableVolgroups		7"internalGetAvailablePhysicalDrives		8internalGetUsedMountPoints		9internalCheckVolgroups	:internalCheckSanity	;
updateTree<
ReadHelper=Summary	>Import?Read@ExportAResetBgetAvailableMountPoints	CgetNextAvailableMountPoint	DgetAvailableVolgroups	EcheckSanityFgetDrive	GgetDriveByListIndex	H
getDriveCountIremoveDriveJaddDrive		KupdateDrive	LgetPartition	MupdatePartition	NnewPartitionOdeletePartition
..6//A;;@===>>Zsettings??j@@rAABBCCDDEEFFwhichGGindexHHIIwhichJJdrive	KK(drive	LLDdriveIdpartitionIdxMMYdriveIdpartitionIdx	partition	NNrdriveIdOOdriveIdpartitionIdxX3UIChangeWidget

QueryWidget

0
autoinst1
autoinstall/types.ycp0
autoinst#
PartitionT	#
DriveT	#AutoinstPartPlanT	#DialogT
2AutoinstPartPlan.ycp1autoinstall/common.ycp0
autoinst1autoinstall/types.ycp3AutoinstStorage$
$	
$

$rp$
%
name	dialog
& 	
	
	
add%#s
($4$-%-'			substring			tostring	%)s	-*
symbolof
toterm%-sList	-.		maplists	itemid%2
dialogType	&3

-4%8
dialogType	-9

%<,@	
y2milestone	
prepareStack(): NOT IMPLEMENTED%Ddialog
function
functionTerm$E(F4F,G	
y2milestone	
calling function: '%1'->'%2'.	typeUnknown,Ieval4K,L	
y2milestone	
Function not found: '%1'->'%2'.	typeUnknown%T&U

%[item	(\&&4\-]			substring				findfirstof		_-_%eitem	(f&&4f-g			substring		+		findfirstof		_-i%ms	prefix	result	$n&o					regexpsub				+			(.*)\1(p4p-q-s%xs	prefix	-y+			2AutoinstPartPlan.ycp1autoinstall/tree.ycp1
autoinstall/common.ycp$
tree$id%newTree,Items%- 
Value%1 ts
argsfound(3
symbolof
43-4$7argsof$8,9foreache(:4:&; (<4<.=(@4@&A(B4B.C(F&&

4G&H.I-L%Vs
treefound$W,Xforeachitem(Y 4Y&Z.[-^%g!newItem	item
allItems$h$i	&jItems(k4k,lCurrentItem-m,o	
	y2warning	
Item '%1' not found in tree,p	
y2debug	

Tree was '%1'-q%{"	reference	name	childrenresult$|Empty(}size4}&~itemid4&itemid,	
y2milestone	
new node: '%1'-2AutoinstPartPlan.ycp3AutoinstCommon3
AutoinstDriveremovePartition		Export	isDrive	getNodeReference		getNodeName		
createTree	getPartition		getPartitionCount	getNextAvailablePartitionNumber	addPartition			updatePartition			
parseDrive	3AutoinstPartitionnew		set			getLVNameFor		getPartitionDescription		getDefaultMountPoints	3Summary	AddHeader			AddLine			
AddNewLine		OpenList			CloseList		AddListItem			3PopupError	3ModeSetMode	3StorageDevicesInitDone3StorageGetTargetMap	3
Partitions
fsid_wintypes
fsid_dostypesfsid_ntfstypes	DefaultFs
$-,	$0-%6.,8	
y2milestone	
SetModified&9-%A/-C-%Q0plan	whichresult	$R

,S		foreachcurrentDrive	(T_id4T&U
.V-Y
%g1plan	index-h
	%t2plan	whichindexfound$u
$v
,w		foreachcurrentDrive		currentID$x_id(y4y&z
.{&}
+
(
4-
-%3plan	drive	(4-			add4,	
y2error	
No valid drive '%1'.%4plan	whichresult	drive	$
	$
0&
			filtercurDrive	
_idd_ido-
%5plan	drive	(4&				maplistcurDrive	,(_idd_ido4-4-4,	
y2error	
No valid drive: '%1'-%6plan	result	$
	&
			filtercurDrive	,
typeCT_DISKCT_DISK-
%7plan	result	$
	&
			filtercurDrive	,
typeCT_LVMCT_DISK-
%8plan	result	$
	,		foreachdrive	,		foreachpart	
partitions	
mountPoint	$	mount(4&
			add
,	
y2milestone	
Used mount points: '%1'
-
%9plan	sane	volGroups	
physDrives	$
$
6$
7,		foreachvolGroup	
foundvolGroupName	$$	devicexyz/dev/,		foreach	physDrive	
,		foreachpart	
partitions	(		lvm_groupzxy4&,	
y2milestone	
/Found 'feeding' partition for volume group '%1'(&!4&,'		
sformat		
MVolume group '%1' must have at least one physical volume. Please provide one.autoinst&)
-+
%6:plan	sane$7
&8
9-:
%@;item	tree,B	
y2milestone	
entering updateTree$D$E	,G		foreachdrive	
,&Hadd
,J	
y2milestone	
Setting tree: '%1'(Ksize,4K,L(N&&4N,O	
y2milestone	
(reselecting item '%1' after tree update.,P!4S
firstDrive	$T1,,U!%c<
StorageMap	drives	,enormal,f	$g		eval
&i			filterd	p

&&&&
	/dev/evms
/dev/nfssize

partitions	,j	
y2milestone	

Storagemap %1$m		maplistk	v


partitionswinpno_format_listno_create_list
usepartitionscyl_size	no_createdrive$n	$o	$p	A$q	$r	$s
cyl_size$t,uforeachpe

partitions	new_peskipwin(v
typexextended/w$x
'ycreate$z({haskeyenc_type4{'|enc_type
enc_typetwofish'}	crypt_keyENTER KEY HERE'~loop_fs'crypt_fs(haskeyfsid4fsidwintypesallwin$fsid$union$union(&&contains&&!		issubstring			mount/boot!boot4,	
y2debug	
Windows partitions found: %1&addnr&(size4&(&&contains		issubstring			mount/boot4'partition_id4'partition_idfsid(containsfsid'format(containsfsid'create(&&haskeytype
typexprimary4'partition_typeprimary(&&haskeyregioncreate4(-*size_k'size		
sformat		
%1'size		
sformat		
%1-*size_k(haskeylabel4'label	label(haskeymountby4'mountby
mountbynomb(haskeyfstopt4'fstopt	fstoptdefaults(&&haskeyused_by_type
used_by_typenothingUB_LVM4'	lvm_group			substring			used_by_device(
typeunknownlvm4'lv_name	name'size		
sformat		
%1*size_k(haskeystripes4'stripesstripes'
stripesize
stripesize(&&haskeyused_by_type
used_by_typenothingUB_MD4'	raid_name	used_by_device(&&haskeyused_fsfsid4'
filesystem
used_fs'formatformatformat(
detected_fsknownunknown4'format(&&haskeynr
typeunknownlvm4(!4,	
y2debug	
Adding partition to be used: %1nr&addnr'partition_nrnr(	mount4'mount	mount(
/dev/md4raid_options$
'persistent_superblockpersistent_superblock'	raid_type		raid_typeraid0'raid_options(&&!partition_id4&add$
'type

typeCT_DISK(4&maplistm'create-'
partitions'device
(

type
CT_UNKNOWNCT_LVM4'pesize		
sformat		
%1M/
pesize*'typeCT_LVM(&&haskey
lvm2
lvm24'lvm2(	size4
(size4'
useall4up	$	,foreachi&			add		
sformat		
%1'use			mergestring			,-&!filterv
keep$",#foreachp

partitions	($||||	mounthaskey	lvm_grouphaskey	raid_name4$&%.&-),,autoinst_config--%==summary	num$?&@Drivesautoinst$Asize,&B		
sformat		
Total of %1 driveTotal of %1 drivesautoinst&C,D		foreachdrive	
,	driveDesc	$E
&F&G,H		foreachpart	

partitions	&I&L&M&O-P%Z>,\	
y2milestone	
entering Import with %1&],	,^foreachdrivenewDrive	$_(`4`&a,3,4c,d	
y2error	
#Couldn't construct DriveT from '%1'-g%j?-k><%r@drivesclean_drives,t	
y2milestone	
entering Export$u		maplistdrive	
,
$ymaplistd
p$zmaplistpart

partitions	({haskeyfsid4|&}removefsid(haskeyused_fs4&removeused_fs-'

partitions(&&haskey
device	
deviceauto4&
remove
device,	
y2milestone	
device 'auto' dropped-
-%A&,	%BusedMountPoints	availableMountPoints	$8,$	&			filtermp	
!		contains
,	
y2milestone	
Available mount points: '%1'-%CavailableMountPoints	$B-	%D-				maplistvg	
6,	
devicenot-set%E-:,%F-0,%G-1,%H-size,%IremovalDriveIdx
oldDriveCountdrive	$
2,$
H&,4,$

(	&&

-
4	&
G-
4
&
G
,!
,;%J&,3,,;-%(K&),5,,*;%DLcurrentDrive	$E
F,F	
y2milestone	
Loaded drive '%1'
-G
%YMdrive	$Z
F([
4[&\

,]K
-^4`,a	
y2milestone	
1Could not update partition. Invalid driveId: '%1'-b%rNnewPartitionIndexparentDrive	$s
$t
F(u
4u
mountPoint	newPartitionNumbernewPart	$vC$w
$x&ypartition_nr(zCT_DISK

typeEmpty4z&{lv_name&~

&
-
,K
4,	
y2error	
:Cannot create new partition on invalid drive with id '%1'.-
%Odrive	$
F(
4oldPartitionCount$
&

,K
(
4,!
(-4,!+			+			+			part_	tostring	_	tostring	--4,	
y2error	
9Cannot delete partition on invalid drive with index '%1'.-

ACC SHELL 2018