Searched refs:storage_dict (Results 1 – 3 of 3) sorted by relevance
114 def mount_volume(self, index=None, storage_dict=None, args=''): argument129 if index is None and storage_dict is None:130 storage_dict = self.storages[0]132 storage_dict = self.storages[index]133 elif not isinstance(storage_dict, dict):137 if storage_dict['is_mounted']:142 logging.info('Mounting %(device)s in %(mountpoint)s.', storage_dict)146 os.mkdir(storage_dict['mountpoint'])152 cmd += ' %(device)s %(mountpoint)s' % storage_dict154 storage_dict['is_mounted'] = True[all …]
64 self.scanner.umount_volume(storage_dict=storage)72 self.scanner.mount_volume(storage_dict=storage)90 self.scanner.mount_volume(storage_dict=storage)
32 self.scanner.umount_volume(storage_dict=self._storage)136 self.scanner.umount_volume(storage_dict=self._storage, args='-f -l')