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() choosePart()
def formatPart(part): 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ı") d.infobox(text="/dev/"+part+" Disk Formatlandı")
chooseSwap() chooseSwap()
hedef="/dev/"+part
hedefBagla(hedef) hedefBagla(hedef)
def 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ı.") d.infobox(text="hedef disk bağlandı.")
sistemKopyala() sistemKopyala()