|
|
|
@ -1181,7 +1181,13 @@ class IsoDistributive(Distributive):
|
|
|
|
|
def _mountIso(self,file,directory):
|
|
|
|
|
if self.file != self.mdirectory:
|
|
|
|
|
self._makeDirectory(directory)
|
|
|
|
|
self._mountToDirectory(file,directory,mountopts="-o loop")
|
|
|
|
|
tf = typeFile(magic=0x6)
|
|
|
|
|
ftype = tf.getMType(file)
|
|
|
|
|
if "block special" in ftype:
|
|
|
|
|
mopts = ""
|
|
|
|
|
else:
|
|
|
|
|
mopts = "-o loop"
|
|
|
|
|
self._mountToDirectory(file,directory,mountopts=mopts)
|
|
|
|
|
|
|
|
|
|
def _umountIso(self,directory):
|
|
|
|
|
if self.file != self.mdirectory:
|
|
|
|
|