Add x-gvfs-hide option
This commit is contained in:
parent
c77ee6f4bc
commit
904134f1ec
@ -26,7 +26,7 @@ def callRtn(cmd,*args,**kwargs):
|
|||||||
def mountChroot(d):
|
def mountChroot(d):
|
||||||
for mount in mounts:
|
for mount in mounts:
|
||||||
if callRtn(["mountpoint","-q",p(d,mount)]) == 0: continue
|
if callRtn(["mountpoint","-q",p(d,mount)]) == 0: continue
|
||||||
call(["mount","--bind",os.path.sep + mount,p(d,mount)])
|
call(["mount","-o","x-gvfs-hide","--bind",os.path.sep + mount,p(d,mount)])
|
||||||
|
|
||||||
def umountChroot(d):
|
def umountChroot(d):
|
||||||
for mount in reversed(mounts):
|
for mount in reversed(mounts):
|
||||||
|
Loading…
Reference in New Issue
Block a user