S
S
SerjAntiquity2015-07-14 17:53:32
linux
SerjAntiquity, 2015-07-14 17:53:32

What python module can be used to mount directories?

Good day!
Gentlemen, tell me, is there an opportunity to mount directories in python?
interested in the analog of the command "mount --bind /src/path /dst/path"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2015-07-14
@SerjAntiquity

import os
os.system('mount --bind /src/path /dst/path')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question