]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
util/system: add unmount_tmpfs helper
authorJan Fajerski <jfajerski@suse.com>
Thu, 12 Dec 2019 08:28:27 +0000 (09:28 +0100)
committerJan Fajerski <jfajerski@suse.com>
Thu, 27 Feb 2020 08:43:41 +0000 (09:43 +0100)
commit7d4ac01275a2b9ab03ca9eca1b168846474b1bad
tree58c233436d4d8d8dfb9165fbe50d2a83cd38a9d7
parenta050bc863c9c6d8beb32bf8675d395a15494c946
util/system: add unmount_tmpfs helper

Thsi unmounts a path if and only if it's a tmpfs mount.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 705ed1110138b1e7c77768f97d5acda4a76d868f)
src/ceph-volume/ceph_volume/util/system.py