code: def _PrintTSKPartitionIdentifiersOverview(
        self, volume_system, volume_identifiers):
      
      header = 'The following partitions were found:\n'
      self._output_writer.Write(header)
  
      column_names = ['Identifier', 'Offset (in bytes)', 'Size (in bytes)']
      table_view = views.CLITabularTableView(column_names=column_names)
  
      for volume_identifier in sorted(volume_identifiers):
        volume = volume_system.GetVolumeByIdentifier(volume_identifier)
        if not volume:
          raise errors.SourceScannerError(
              'Partition missing for identifier: {0:s}.'.format(
                  volume_identifier))
  
        volume_extent = volume.extents[0]
        volume_offset = '{0:d} (0x{0:08x})'.format(volume_extent.offset)
        volume_size = self._FormatHumanReadableSize(volume_extent.size)
  
        table_view.AddRow([volume.identifier, volume_offset, volume_size])
  
      self._output_writer.Write('\n')
      table_view.Write(self._output_writer)
      self._output_writer.Write('\n')
docs: Prints an overview of TSK partition identifiers.
  
      Args:
        volume_system (dfvfs.TSKVolumeSystem): volume system.
        volume_identifiers (list[str]): allowed volume identifiers.
  
      Raises:
        SourceScannerError: if a volume cannot be resolved from the volume
            identifier.