]> git-server-git.apps.pok.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>
Tue, 11 Feb 2020 14:41:02 +0000 (15:41 +0100)
commit3a5ea621f335d74fe1c8dcd9cb10fdfc2b166afc
treeb8d3953edf815ce18411b26005d0c59d4a522068
parent5a8d72bea8619b6db1ddda6fb0fcc6ca155edd1f
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