code: def _describe_system():
      import platform as pl
      from datalad import get_encoding_info
      from datalad.utils import get_linux_distribution
  
      try:
          dist = get_linux_distribution()
      except Exception as exc:
          ce = CapturedException(exc)
          lgr.warning("Failed to get distribution information: %s", ce)
          dist = tuple()
  
      return {
          "type": os.name,
          "name": pl.system(),
          "release": pl.release(),
          "version": pl.version(),
          "distribution": " ".join(
              [_t2s(dist), _t2s(pl.mac_ver()), _t2s(pl.win32_ver())]
          ).rstrip(),
          "max_path_length": get_max_path_length(getpwd()),
          "encoding": get_encoding_info(),
          "filesystem": {
              l: _get_fs_type(l, p)
              for l, p in [
                  ("CWD", Path.cwd()),
                  ("TMP", Path(tempfile.gettempdir())),
                  ("HOME", Path.home()),
              ]
          },
      }
  
imports: import logging
  import os
  import os.path
  import sys
  import tempfile
  import textwrap
  from collections import defaultdict
  from functools import partial
  from datalad.dochelpers import get_docstring_split
  from datalad.interface.base import Interface, build_doc
  from datalad.utils import ensure_unicode, getpwd, unlink, Path
  from datalad.support.external_versions import external_versions
  from datalad.support.exceptions import CapturedException, CommandError, InvalidGitRepositoryError
  from datalad import __version__
label_desc: Use image node_id 5 for calling a global function with example usage: _describe_system() and returns: dict