miliskur.py-guncelle
This commit is contained in:
		
							parent
							
								
									98ea5a5c3d
								
							
						
					
					
						commit
						6a5721cba2
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -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() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue