view docs/notes.rst @ 242:ae9bc3006efc

Enhanced help message: describe the "bin-" prefix
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 08 Feb 2025 09:47:34 +0100
parents d7be68a8937d
children 42f4ca423ab3
line wrap: on
line source

.. -*- coding: utf-8; indent-tabs-mode: nil; -*-


In a aggregated directory checksum at the end of a block:
A path equals

  ``./@/``

      Symlink to directory

  ``./@``

      Symlink to other filesystem object

Other paths that *end* with:

  ``/./@/``

      Symlink to a directory

  ``/./@`

      Symlink to other filesystem object


Fields:

  ``FSENCODING``

      The result of :func:`os.getfilesystemencoding` that is in effect when
      generating treesum digests (process environment)

   ``ERROR``

      Errors are reported:

      - For directories if the one of filenames has a filename problem

   ``FLAGS``

      Some flags are always printed.

      - no file modes and no file mtime is taken into account for digesting
      - no file size is printed

      Contains:

      - ``with-metadata-fullmode``: if a file mode is used completely as
        given by the OS for digest computation
      - ``with-metadata-mode``: if just the "portable" file modes are used
        for digest computation
      - ``with-metadata-mtime``: if the mtime as ISO-String and truncated to
        seconds is used in digest computation
      - ``print-size``: if the filesize is to to be printed also -- does not
                        change digests
      - ``fs-encoding``: the filenames are given in FS encoding
      - ``utf8-encoding``: the filenames are given in UTF-8 encoding
      - ``follow-symlinks-XXX`` and ``no-follow-symlinkx-XXX``: if symlinks are followed on the command
        line, while directory walking or for files
      - ``size-only``: if no digest is to be computed and only a file's size
        is printed and the accumulated file sizes for a directory tree

  ``ROOT``

      Always printed in UTF-8 encoding

  ``COMMENT``

      Always printed in UTF-8 encoding


Offene Fragen
=============

VFAT und Encoding
-----------------

Verfolgung von Encoding-Einstellungen über Mount-Punkte hinweg -- gerade
für externe Medien mit VFAT/MSDOS-FS.

  Erst einmal zurückgestellt