KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/task/21573/root/usr/share/system-config-lvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/task/21573/root/usr/share/system-config-lvm/Fstab.pyo
mò
ßKRc@s´dkZdkZdkZdklZlZlZdklZdZ	dZ
dZdZdZ
dZd	Zd
Zddd
d„Zd„Zd„Zd„Zd„Zd„ZdS(N(sexecWithCapturesexecWithCaptureErrorStatussexecWithCaptureStatus(sfollow_links_to_targetiiiiiis
/etc/fstabs /etc/fstab.tmp.system-config-lvmtdefaultst1t2c	Csa|d|d|d|}|d|d|}t||ƒ}|i
ƒtit
tƒdS(Ns		s	t (tdev_patht	mnt_pointtfstypetoptionstlinetdumptfsckt__remove_and_replacetdev_path_oldtfstabtclosetostrenamet	FSTAB_TMPtFSTAB(	RRRRRR	R
R
R((t%/usr/share/system-config-lvm/Fstab.pytadds

cCs-t|dƒ}|iƒtittƒdS(N(	Rt
mnt_devicetNoneR
RRRRR(RR
((Rtremoves
cCsÉt}ttdƒ}|iƒ}|iƒ|djot
|ƒ}ng}ttdƒ}x6|D].}|iƒidƒ}|idƒ}	g}xF|	D]>}
x5|
idƒD]$}|djo|i|ƒq±q±Wq›W|}	t|	ƒdjo|i|dƒqdn|	dd	jo|i|dƒqdn|	t|jo9|djo(|tjo|i|dƒt}q’qd|i|dƒqdW|djo"|tjo|i|dƒn|S(
Ntrtws
Rs	tiit#(tFalsetaddedtopenRR
t	readlinestlinesRRRt
get_all_pathstpathsRt	fstab_newRtstriptrstriptsplittwordst	words_newtwordRtappendtlentwritetDEVICEtnew_linetTrue(RR.R"RRR#R
R R(R'R)R((RR$sF



cCst|ƒ}|tS(N(tget_mount_optionsRtoptt
MOUNTPOINT(RR1((Rtget_mountpointRsc	Cs|djod	Snt|ƒ}ttdƒ}|iƒ}|i	ƒxÒ|D]Ê}|iƒidƒ}|i
dƒ}g}xF|D]>}x5|i
dƒD]$}|djo|i|ƒqšqšWq„W|}t|ƒdjoqMn|ddjoqMn|t|jo|SqMqMWd
S(NRs
Rs	RiiR(NNNNNN(NNNNNN(RRR!R"RRR
RR RRR$R%R&R'R(R)RR*R+R-(	RR"R)RR
R R(R'R((RR0Vs2


cCsT|g}t||ƒti|ƒi|ƒ}|djo|id|ƒn|S(NsLABEL=(	RR"tfollow_links_to_targett
Filesystemtget_fst	get_labeltlabelRR*(RR"R8((RR!ss	

(tsysRR5texecutetexecWithCapturetexecWithCaptureErrorStatustexecWithCaptureStatust	utilitiesR4R-R2tFSTYPEtOPTIONStDUMPtFSCKRRRRRR3R0R!(R!RBR0RRAR<RRR=RRR4R9RR3R5R-R2R?R;R@((Rt?s$			
		.		

Anon7 - 2021