ACC SHELL

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

YaST bytecode 1.4.0
StorageUpdateStorageUpdate.ycpArch	AsciiFileFileSystems
PartitionsStorage
called_updateUpdateFstabSubfsUpdateFstabSysfs	UpdateFstabPersistentNames
UpdateFstabEvms2LvmUpdateMdadmUpdateFstabDiskmap
UpdateFstabUsbdevfsUpdateFstabIseriesVdUpdateCryptoTypeUpdate0oldvnewv3SCRExecute0
storage3
Arch
board_iseries3	AsciiFileGetLineNumLinesChangeLineField	
AppendLineRemoveLinesRewriteFile	
SetComment	ReadFile	3FileSystemsGetFstabDefaultMap	3
PartitionsGetFstab		GetCrypto	3Storage
PathToDestdir		HdToIseries		SLES9PersistentDevNames			HdDiskMap		BuildDiskmap$%tabpath	fstabline	rem_lines	,	
y2milestone	
<UpdateFstabSubfs removing fstab entries for cdrom and floppy$
/etc/fstab$$$	)4 l$! ("		search			fields
/media/floppy4#&$add(&||||||||||||||		search			fields/media/cdrom		search			fields
/media/dvd		search			fields/media/cdrecorder		search			fields/media/dvdrecorder		search			fields/cdrom		search			fields/dvd		search			fields/cdrecorder		search			fields/dvdrecorder4.&/add&1+,3	
y2milestone	
UpdateFstabSubfs %1(4size45&6sort,7 ,9 %=tabpath	fstabline
have_sysfs,?	
y2milestone	
UpdateFstabSysfs called$@
/etc/fstab$A$B$C)D&&!4El$F &G	fields/sys&H+(J!4Kentryfstlist$Lsys$M	spec	mount	vfstype	mntops		
sformat		
%1freq		
sformat		
%1passno,Q	
y2milestone	
UpdateFstabSysfs entry %1,R	
y2milestone	
UpdateFstabSysfs fstlist %1,S ,T %Y	tabpath	fstablinen	,[	
y2milestone	
6UpdateFstabPersistentDevNames updating to SLES10 names$\
/etc/fstab$]$^$_)`4al$b &c	fields(d	fields4e,f &h+,j %n
tabpath	fstablinen	,p	
y2milestone	
)UpdateFstabEvms2Lvm migrating EVMS to LVM$q
/etc/fstab$r$s$t)u4ul$v &w	fields(x			substring		/dev/evms/lvm2/4y&z+			/dev/			substring		,{ &}+, %cpath	filelinechanged	,	
y2milestone	
UpdateMdadm$/etc/mdadm.conf$
, ^[ 	]*#, $$)4(&&		search			llineDEVICE		search			lline/dev/4&'llineDEVICE partitions,	
y2milestone	
UpdateMdadm %1l
&+(, %diskmaptabpath	fstablinen	crtab,	
y2milestone	
UpdateFstabDiskmap map %1$
/etc/fstab$$$)4l$	 &		fields(		fields4, &+, &/etc/cryptotab$&)4l$	 &		fields(		fields4, &+, %
changedtabpath	fstabline,	
y2milestone	
.UpdateFstabUsbdevfs updating usbdevfs to usbfs$$
/etc/fstab$$)4l$ (	fieldsusbdevfs4, usbfs, usbfs&&+(4,	
y2milestone	
UpdateFstabUsbdevfs changed, %tabpath	fstablinen	crtab,	
y2milestone	
0UpdateFstabIseriesVd updating hdx to iseries/vdx$
/etc/fstab$$$)4l$ &	fields(	fields4, &+, &/etc/cryptotab$&)4l$ &	fields(	fields4, &+, %tabpath	fstablinepos	searchstr	crtab
,	
y2milestone	
UpdateCryptoType$
/etc/fstab$$$$encryption=twofish256)4l$ &		search			fields(4	new	$
				substring			fields&	+				encryption=twofishSL92&	+							substring			fields+	size	,
	
y2milestone	
new options line in %1 is %2	, 	&+, &/etc/cryptotab$&)4l$ (	fields
twofish2564,	
y2milestone	
set twofishSL92 in line %1, twofishSL92&+,  %0(2!43sles_major_to_minordm,4	
y2milestone	
Update old:%1 new:%2$8	
	
(9&&haskeymajor!haskeyminor4:';minor	major,<	
y2milestone	

Update old:%1(>&&haskeymajor!haskeyminor4?'@minor	major,A	
y2milestone	

Update new:%1(C||!haskeymajor!haskeymajor,D	
y2error	
Missing key major or minor(Fmajor	4G,H(Jmajor	4K,L
(Nmajor	4O,P	,U
$W	(Xsize	4Y,Z	,[(]||major	&&major	minor4^,_(a||major
&&major
minor4bof	$c
 /etc/udev/rules.d/20-cdrom.rules,d	
y2milestone	
removing obsolete %1
,eSCR::Execute.target.remove
&f
 /etc/udev/rules.d/55-cdrom.rules,g	
y2milestone	
removing obsolete %1
,hSCR::Execute.target.remove
(j||major
&&major
minor4kof	$l
 /etc/udev/rules.d/65-cdrom.rules,m	
y2milestone	
removing obsolete %1
,nSCR::Execute.target.remove
(p||major
&&major
minor,q(r||major	&&major	minor4scmd	bo(t4u,v$x
.cd / && /sbin/insserv -r /etc/init.d/boot.evms,y	
y2milestone	

Update cmd %1
$z
SCR::Execute.target.bash_output
,{	
y2milestone	
Update bo %1
(}||major
&&major
minor4~cmd	bo$
-cd / && /sbin/insserv /etc/init.d/boot.crypto$
SCR::Execute.target.bash_output
,	
y2milestone	
Update bo %1
&
3cd / && /sbin/insserv /etc/init.d/boot.crypto-early&
SCR::Execute.target.bash_output
,	
y2milestone	
Update bo %1
&4,	
y2milestone	
.Skip calling Update() -> It was already called

ACC SHELL 2018