??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
σ ΰUdac@`sGddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l m Z dd l Z dd l Z dd l Z dd lmZmZd efd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZd%efd&„ƒYZd'efd(„ƒYZi ed)6ed*6ed+6ed,6ed-6ed.6ed/6ed06ed16ed26ed36ed46Z d5„Z!e"d6krCe!ƒnd S(7i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys² --- author: - Alexander Bulimov (@abulimov) module: filesystem short_description: Makes a filesystem description: - This module creates a filesystem. version_added: "1.2" options: fstype: choices: [ btrfs, ext2, ext3, ext4, ext4dev, f2fs, lvm, ocfs2, reiserfs, xfs, vfat, swap ] description: - Filesystem type to be created. - reiserfs support was added in 2.2. - lvm support was added in 2.5. - since 2.5, I(dev) can be an image file. - vfat support was added in 2.5 - ocfs2 support was added in 2.6 - f2fs support was added in 2.7 - swap support was added in 2.8 required: yes aliases: [type] dev: description: - Target path to device or image file. required: yes aliases: [device] force: description: - If C(yes), allows to create new filesystem on devices that already has filesystem. type: bool default: 'no' resizefs: description: - If C(yes), if the block device and filesystem size differ, grow the filesystem into the space. - Supported for C(ext2), C(ext3), C(ext4), C(ext4dev), C(f2fs), C(lvm), C(xfs), C(vfat), C(swap) filesystems. - XFS Will only grow if mounted. - vFAT will likely fail if fatresize < 1.04. type: bool default: 'no' version_added: "2.0" opts: description: - List of options to be passed to mkfs command. requirements: - Uses tools related to the I(fstype) (C(mkfs)) and C(blkid) command. When I(resizefs) is enabled, C(blockdev) command is required too. notes: - Potential filesystem on I(dev) are checked using C(blkid), in case C(blkid) isn't able to detect an existing filesystem, this filesystem is overwritten even if I(force) is C(no). sζ - name: Create a ext2 filesystem on /dev/sdb1 filesystem: fstype: ext2 dev: /dev/sdb1 - name: Create a ext4 filesystem on /dev/sdb1 and check disk blocks filesystem: fstype: ext4 dev: /dev/sdb1 opts: -cc (t LooseVersionN(t AnsibleModulet get_platformtDevicecB`s#eZd„Zd„Zd„ZRS(cC`s||_||_dS(N(tmoduletpath(tselfR R ((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyt__init__Xs cC`sΌtj|jƒ}tj|jƒrs|jjddtƒ}|jj|d|jgdtƒ\}}}t |ƒStjj |jƒr›tjj |jƒS|jj dt dd|ƒdS( s- Return size in bytes of device. Returns int tblockdevtrequireds --getsize64tcheck_rctchangedtmsgsTarget device not supported: %sN(toststatR tS_ISBLKtst_modeR t get_bin_pathtTruet run_commandtinttisfiletgetsizet fail_jsontFalse(Rtstatinfot blockdev_cmdt_tdevsize_in_bytes((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytsize\s- cC`s|jS(N(R (R((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyt__str__hs(t__name__t __module__RR%R&(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR Ws  t FilesystemcB`sqeZd Zd ZdZidd6dd6dd6Zd„Zed„ƒZ d„Z d„Z d „Z d „Z RS( ttCtLANGtLC_ALLt LC_MESSAGEScC`s ||_dS(N(R (RR ((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRtscC`s t|ƒjS(N(ttypeR'(R((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytfstypewscC`s tƒ‚dS(s; Return size in bytes of filesystem on device. Returns int N(tNotImplementedError(Rtdev((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyt get_fs_size{scC`sƒ|jjrdS|jj|jdtƒ}|dkrPd||j|f}nd||j||f}|jj|dtƒdS(NRs %s %s '%s's %s %s %s '%s'R(R t check_modeRtMKFSRtNonetMKFS_FORCE_FLAGSR(RtoptsR2tmkfstcmd((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytcreates  cC`s+|jj|jdtƒ}|t|ƒgS(NR(R RtGROWRtstr(RR2R:((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytgrow_cmdŠscC`sο|jƒ}y|j|ƒ}Wn1tk rR|jjdtdd|jƒnX||ksˆ|jjdtdd|j|fƒnc|jjr½|jjdt dd|j|fƒn.|jj |j |ƒdt ƒ\}}}|SdS(s@Get dev and fs size and compare. Returns stdout of used command.RRs3module does not support resizing %s filesystem yet.s*%s filesystem is using the whole device %ss#Resizing filesystem %s on device %sRN( R%R3R1R RR R0t exit_jsonR4RRR>(RR2R$tfssize_in_bytesR#tout((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytgrowŽs  $ ) )*N(R'R(R6R<R5R7tLANG_ENVRtpropertyR0R3R;R>RB(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR)ls   tExtcB`seZdZdZd„ZRS(s-Ft resize2fscC`sΝ|jjddtƒ}|jj|dt|ƒgdtd|jƒ\}}}xu|jƒD]g}d|kr’t|jdƒdj ƒƒ}q^d |kr^t|jdƒdj ƒƒ}||Sq^WdS( Nttune2fsRs-lRtenviron_updates Block count:t:is Block size:( R RRRR=RCt splitlinesRtsplittstrip(RR2R:R#R%tlinet block_countt block_size((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR3€s9 " (R'R(R7R<R3(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRE stExt2cB`seZdZRS(s mkfs.ext2(R'R(R5(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRP°stExt3cB`seZdZRS(s mkfs.ext3(R'R(R5(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRQ΄stExt4cB`seZdZRS(s mkfs.ext4(R'R(R5(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRRΈstXFScB`s#eZdZdZdZd„ZRS(smkfs.xfss-ft xfs_growfsc C`s,|jjddtƒ}|jj|dt|ƒgdtd|jƒ\}}}xΤ|jƒD]Ζ}|jdƒ}|djƒdkr^|d jƒd kr΅|jj d d ƒn|d jƒd dkrε|jj d dƒnt |d jƒdƒ}t |djdƒdƒ}||Sq^WdS(NRTRs-nRRHt=itdataitbsizeRsCUnexpected output format from xfs_growfs (could not locate "bsize")itblockssDUnexpected output format from xfs_growfs (could not locate "blocks")it,( R RRRR=RCRJRKRLRR( RR2R:R#R%RMtcolRORN((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR3Αs9(R'R(R5R7R<R3(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRSΌstReiserfscB`seZdZdZRS(s mkfs.reiserfss-f(R'R(R5R7(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR[ΠstBtrfscB`seZdZd„ZRS(s mkfs.btrfscC`sΡtt|ƒj|ƒ|jjd|jdtƒ\}}}tjd|ƒ}|sktjd|ƒ}n|rͺt |j dƒƒt dƒkržd|_ qΝd|_ n#d|_ |jj d||fƒdS( Ns %s --versionRs v([0-9.]+)is3.12s-fR*s.Unable to identify mkfs.btrfs version (%r, %r)( tsuperR\RR RR5RtretsearchRtgroupR7twarn(RR R#tstdouttstderrtmatch((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRΨs(!   (R'R(R5R(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR\ΥstOcfs2cB`seZdZdZRS(s mkfs.ocfs2s-Fx(R'R(R5R7(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyReλstF2fscB`s,eZdZdZed„ƒZd„ZRS(s mkfs.f2fss resize.f2fscC`s’|jj|jdtƒ}d|tjf}|jj|dtd|jƒ\}}}t j d|ƒ}|dk ržt |j dƒƒt dƒkrždSnd S( NRs%s %sRRHs'F2FS-tools: mkfs.f2fs Ver: ([0-9.]+) \(is1.9.0s-fR*(R RR5RRtdevnullRR RCR^R_R6RR`(RR9R:R#RARd((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR7τs* !cC`s |jjddtƒ}|jj|t|ƒgdtd|jƒ\}}}d}d}x§|jƒD]f}d|kr’t|j ƒdƒ}n%d|kr·t|j ƒdƒ}nd||fkrgPqgqgW|jj d d j |ƒƒ|jj d d |ƒ||S( Ns dump.f2fsRRRHsInfo: sector size = isInfo: total FS sectors = is'Unable to process dump.f2fs output '%s's Rs)Unable to process dump.f2fs output for %s( R RRRR=RCR6RJRRKRatjoinR(RR2R:R#tdumpt sector_sizet sector_countRM((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR3s6  (R'R(R5R<RDR7R3(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRfπstVFATcB`s>eZeƒdkrdZndZdZd„Zd„ZRS(tFreeBSDt newfs_msdoss mkfs.vfatt fatresizecC`sΔ|jj|jdtƒ}|jj|dt|ƒgdtd|jƒ\}}}xR|jƒdD]@}|jddƒ\}}|j ƒdkret |j ƒƒSqeW|jj dd |ƒdS( NRs--infoRRHiRItSizeRs2fatresize failed to provide filesystem size for %s( R RR<RRR=RCRJRKRLRR(RR2R:R#toutputRMtparamtvalue((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR3"s9cC`s:|jj|jƒ}|dt|jƒƒt|jƒgS(Ns-s(R RR<R=R%R (RR2R:((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR>+s(R'R(R R5R<R3R>(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRls   tLVMcB`s#eZdZdZdZd„ZRS(tpvcreates-ftpvresizec C`sg|jjddtƒ}|jj|ddddddt|ƒgd tƒ\}}}t|ƒ}|S( NtpvsRs --noheadingss-otpv_sizes--unitstbs --nosuffixR(R RRRR=R(RR2R:R#R%RN((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyR35s? (R'R(R5R7R<R3(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRt0stSwapcB`seZdZdZRS(tmkswaps-f(R'R(R5R7(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pyRz<stext2text3text4text4devtf2fstreiserfstxfstbtrfstvfattocfs2t LVM2_membertswapcC`sιidd6}ttjƒƒt|jƒƒt|jƒƒB}tdtdtdtddgdt|ƒƒd tdtdd gƒd tƒd tdd dtƒdtdd dtƒƒdtƒ}|j d }|j d}|j d }|j d }|j d}||kr ||}nt}yt|} Wn+t k ra|j dtdd|ƒnXt j j|ƒs‹|j dd|ƒnt||ƒ}|jddtƒ} |jd| |fƒ\} } } | jƒ}| |ƒ}|otj|ƒt|k}|r/| r/| r/|jdtƒn|r‰|r‰|jsa|j dtdd|ƒn|j|ƒ}|jdtd|ƒn6|rΏ| rΏ|j dd||fd| d| ƒn|j||ƒt}|jd|ƒdS(NR†tlvmt argument_specR0RtaliasesR/tchoicesR2tdeviceR8tforcetbooltdefaulttresizefstsupports_check_modeRRs1module does not support this filesystem (%s) yet.sDevice %s not found.tblkids#%s -c /dev/null -o value -s TYPE %ss3module does not support resizing %s filesystem yet.s6'%s' is already used as %s, use force=yes to overwritetrcterr(tsett FILESYSTEMStkeystvaluesR tdictRtlistR tparamstKeyErrorRRR texistsR RRRLtgetR?R<RBR;(tfriendly_namestfstypesR R2R0R8RRRtklassR:R“traw_fsR”tfst filesystemtsame_fsRA((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytmainQsX 2          "     )t__main__(#t __future__RRRR/t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStdistutils.versionRRR^Rtansible.module_utils.basicR R tobjectR R)RERPRQRRRSR[R\ReRfRlRtRzR–R¦R'(((sE/usr/lib/python2.7/site-packages/ansible/modules/system/filesystem.pytsR   4    4+   D