miliskur.py-guncelle

This commit is contained in:
milisman 2016-10-10 20:08:44 +03:00
parent 98ea5a5c3d
commit 6a5721cba2
1 changed files with 4 additions and 3 deletions

View File

@ -107,14 +107,15 @@ def formatDialog(part):
choosePart()
def formatPart(part):
os.system("mkfs.ext4 "+"/dev/"+part)
hedef="/dev/"+part
os.system("umount "+hedef)
os.system("mkfs.ext4 "+hedef)
d.infobox(text="/dev/"+part+" Disk Formatlandı")
chooseSwap()
hedef="/dev/"+part
hedefBagla(hedef)
def hedefBagla(hedef):
os.system("umount /mnt && umount "+hedef+" && mount "+hedef+" /mnt")
os.system("mount "+hedef+" /mnt")
d.infobox(text="hedef disk bağlandı.")
sistemKopyala()