[Debian stable]
Code: Alles auswählen
~$ file /usr/lib/locale/locale-archive
Was bedeutet diese Ausgabe? Diese Datei ist bei mir 1,6 MB groß. Wenn ich mir den Inhalt im mc angucke, ist sie größtenteils leer./usr/lib/locale/locale-archive: locale archive 11 strings
Code: Alles auswählen
~$ man locale-archive
Irgendwo habe ich gelesen:Kein Handbucheintrag für locale-archive vorhanden
= the usual default locale archive location
Code: Alles auswählen
~$ man localedef
Die Beschreibung https://en.wikipedia.org/wiki/Memory-mapped_fileA locale archive is a memory-mapped file which contains all the system-provided locales; it is used by all localized programs when the environment variable LOCPATH is not set.
ist mir viel zu allgemein und vage für das Verstehen von locale-archive. Welche Daten wurden hier in welches Dateiformat transformiert?A memory-mapped file is a segment of virtual memory that has been assigned a direct byte-for-byte correlation with some portion of a file or file-like resource. This resource is typically a file that is physically present on-disk, but can also be a device, shared memory object, or other resource that the operating system can reference through a file descriptor. Once present, this correlation between the file and the memory space permits applications to treat the mapped portion as if it were primary memory.
Mit freundlichen Grüßen
bullgard