need to check whether the loop device exists after excute losetupcmd --find
[tools/mic.git] / mic / utils / fs_related.py
index dd50aee..a6c2c0b 100644 (file)
@@ -844,7 +844,7 @@ class LoopDevice(object):
     def register(self, device):
         self.device = device
         self.loopid = None
-        self.created = True
+        #self.created = True
 
     def reg_atexit(self):
         import atexit