From 893c2b59b01bac9ab8ef6764ed4b33f353a4d745 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Aug 2016 16:31:34 -0500 Subject: [PATCH] in additoon to running fuser on /dev/shm also run ls to see whats in it Signed-off-by: Dennis Gilmore --- src/pylorax/imgutils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py index ca27e2c..68ec70a 100644 --- a/src/pylorax/imgutils.py +++ b/src/pylorax/imgutils.py @@ -218,6 +218,8 @@ def umount(mnt, lazy=False, maxretry=3, retrysleep=1.0, delete=True): if logger.getEffectiveLevel() <= logging.DEBUG: fuser = execWithCapture("fuser", ["-vm", mnt]) logger.debug("fuser -vm:\n%s\n", fuser) + ls = execWithCapture("ls", ["-lah", mnt]) + logger.debug("ls -lah:\n%s\n", ls) sleep(retrysleep) else: break -- 2.7.4