code: def get_raw_path(self):
          
  
          if self.disk_mounter == 'dummy':
              return self.paths[0]
          else:
              if self.disk_mounter == 'avfs' and os.path.isdir(os.path.join(self.mountpoint, 'avfs')):
                  logger.debug("AVFS mounted as a directory, will look in directory for (random) file.")
                  # there is no support for disks inside disks, so this will fail to work for zips containing
                  # E01 files or so.
                  searchdirs = (os.path.join(self.mountpoint, 'avfs'), self.mountpoint)
              else:
                  searchdirs = (self.mountpoint, )
  
              raw_path = []
              if self._paths.get('nbd'):
                  raw_path.append(self._paths['nbd'])
  
              for searchdir in searchdirs:
                  # avfs: apparently it is not a dir
                  for pattern in ['*.dd', '*.iso', '*.raw', '*.dmg', 'ewf1', 'flat', 'avfs']:
                      raw_path.extend(glob.glob(os.path.join(searchdir, pattern)))
  
              if not raw_path:
                  logger.warning("No viable mount file found in {}.".format(searchdirs))
                  return None
              return raw_path[0]
docs: Returns the raw path to the mounted disk image, i.e. the raw :file:`.dd`, :file:`.raw` or :file:`ewf1`
          file.
  
          :rtype: str