MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/share/system-config-lvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/system-config-lvm/Segment.pyo
mň
˜Dc@s™dkZdkZdZdZdZdZdfd„ƒYZdefd„ƒYZd	efd
„ƒYZdefd„ƒYZ	d
efd„ƒYZ
dS(NiiiitSegmentcBs,tZd„Zd„Zd„Zd„ZRS(NcCs||_||_||_dS(N(ttypetselftstarttsize(RRRR((t'/usr/share/system-config-lvm/Segment.pyt__init__s		cCs|i|ifS(N(RRR(R((Rtget_start_sizescCs|iS(N(RR(R((Rtget_typescCs|t|iƒƒGHdS(N(tpaddingtstrRR(RR	((Rt	print_outs(t__name__t
__module__RRRR(((RR
s			tStripedSegmentcBs5tZd„Zd„Zd„Zd„Zd„ZRS(NcCs,ti|t||ƒ||_h|_dS(N(RRRtSTRIPED_SEGMENT_IDRRtstripe_sizetstripes(RRRR((RR#s	cCs.||i|<|itdƒt|ƒƒdS(NtStripe(textent_blockRRtidtset_annotationt_R
(RRR((Rt
add_stripe*s
cCs|iS(N(RR(R((Rtget_stripes-scCs|iS(N(RR(R((Rtget_stripe_size0scCsati||dƒxF|iƒD]8}|dt|ƒdGH|iƒ|i|dƒq!WdS(Ns	striped: s stripes: s  (RRRR	Rt	stripe_idR
(RR	R((RR3s

(RR
RRRRR(((RR!s
				t
LinearSegmentcBs/tZed„Zd„Zd„Zd„ZRS(NcCs#ti||||ƒd|_dS(N(RRRRRRtNoneR(RRRR((RR<scCs#||_|iitdƒƒdS(NsLinear Mapping(RRRR(RR((Rtset_extent_blockBs	cCs|iS(N(RR(R((Rtget_extent_blockEscCs/ti||dƒ|iƒi|dƒdS(Nslinear: s  (RRRR	R(RR	((RRIs(RR
tLINEAR_SEGMENT_IDRRRR(((RR:s		t
UnusedSegmentcBs#tZd„Zd„Zd„ZRS(NcCsti|||tƒdS(N(RRRRRtUNUSED_SEGMENT_ID(RRR((RRPscCs||_|iidƒdS(Nt(RRR(RR((RRTs	cCs!|dGHti||dƒdS(Nsunused: s  (R	RRR(RR	((RRYs	(RR
RRR(((RR Ns		tMirroredSegmentcBs5tZd„Zd„Zd„Zd„Zd„ZRS(NcCs#ti|t||ƒg|_dS(N(RRRtMIRROR_SEGMENT_IDRRt	image_lvs(RRR((RR`scCslt|_t|iƒ}|ii|ƒx=|iƒD]/}|i
ƒ}|it
dƒt|ƒƒq5WdS(NtMirror(tTruetimage_lvtis_mirror_imagetlenRR%t	image_numtappendtget_segmentstsegRtextentRRR
(RR(R.R+R/((Rt	add_imagefs	
cCs|iS(N(RR%(R((Rt
get_imagesnscCs
g|_dS(N(RR%(R((Rtclear_imagespscCsIti||dƒ|dGHx%|iƒD]}|i|dƒq*WdS(Ns
mirrored: simages: s  (RRRR	R1timage(RR	R3((RRss
	
(RR
RR0R1R2R(((RR#^s
				(toststringRRR!R$RRRR R#(RR5RR$RRR R!RR4R#((Rt?s		

Anon7 - 2021