mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
parent
7108718104
commit
484d7c4d15
3 changed files with 51 additions and 21 deletions
|
@ -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 ] )
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue