code: def with_mounts(*args, uchroot_cmd_fn=no_args, **kwargs):
      
      mounts = CFG["container"]["mounts"].value
      prefixes = CFG["container"]["prefixes"].value
  
      uchroot_opts, mounts = __mounts__("mnt", mounts)
      uchroot_cmd = uchroot_cmd_fn(**kwargs)
      uchroot_cmd = uchroot_cmd[uchroot_opts]
      uchroot_cmd = uchroot_cmd[args]
      paths, libs = env(mounts)
      prefix_paths, prefix_libs = env(prefixes)
  
      uchroot_cmd = run.with_env_recursive(
          uchroot_cmd,
          LD_LIBRARY_PATH=path.list_to_path(libs + prefix_libs),
          PATH=path.list_to_path(paths + prefix_paths))
      return uchroot_cmd
docs: Return a uchroot command with all mounts enabled.