Update partition path after partition has been created

Fixes #56
This commit is contained in:
Aurélien Gâteau 2014-07-23 14:34:06 +02:00
parent 7108718104
commit 484d7c4d15
3 changed files with 51 additions and 21 deletions

View file

@ -27,6 +27,9 @@ import sys
def mount( devicePath, mountPoint, fs ):
if not os.path.exists( mountPoint ):
os.makedirs( mountPoint )
assert devicePath
assert mountPoint
assert fs
subprocess.check_call( [ "mount", "-t", fs, devicePath, mountPoint ] )