cloop

cloop

cloop (compressed loopback device) ist ein Modul für den Linux-Kernel. Es ist eine Art Erweiterung des Loopback devices, das Unterstützung für transparent entkomprimierte Blockgeräte schafft. Es ist jedoch kein komprimiertes Dateisystem, sondern bezieht sich nur auf Loopbackdevices, zum Beispiel Dateien, die ein Dateisystem enthalten.

cloop wurde ursprünglich von Rusty Russell für die Linuxcare Bootable Business Card geschrieben, wird heutzutage jedoch von Klaus Knopper verwaltet, der es für die Live-Linux-Distribution Knoppix verwendet. Wegen der durchschnittlichen Kompressionsrate von etwa 2,5 zu 1 (für normale Software) eignet sich das Verfahren sehr gut für LiveCDs. Das Knoppix Cloop-Abbild ist beispielsweise 700 MB groß und umfasst etwa 1,8 GB komprimierte Software.

Aussehen eines cloop-Abbildes

Ein cloop-Abbild enthält:

  • ein Shell-Skript (mit mount-Kommandos für das Abbild)
  • einen Header mit der Größe eines unkomprimierten Blocks und der Anzahl der Blöcke des cloop-Mediums
  • ein Array mit den Offsets der komprimierten Datenblöcke (Die Größe eines komprimierten Datenblockes ist die Differenz zwischen dem Offset des Nachfolgeblocks und dem Offset des aktuellen Blocks.)
  • die komprimierten Datenblöcke

Die Datenblöcke sind separat komprimiert. Damit ist es möglich, einzelne Blöcke auszulesen, ohne das gesamte Abbild vorher zu dekomprimieren. Dies spart erheblich Arbeitsspeicher, geht jedoch auf Kosten der Zugriffsgeschwindigkeit sowie der Gesamtkompressionsrate. LiveCD-Abbilder haben in der Regel eine Blockgröße von 256 KB, was einen guten Kompromiss zwischen Zugriffszeit und Speichereffizienz darstellt.

Als Kompressionmethoden werden zlib (LZ77 Deflate) und 7zip (LZMA) unterstützt.[1]

Weblinks

Einzelnachweise

  1. Man-Page von create_compressed_fs

Wikimedia Foundation.

Игры ⚽ Нужна курсовая?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • cloop — Original author(s) Rusty Russell Developer(s) Klaus Knopper Stable release 2.637 1 / January 12, 2011; 9 months ago (2011 01 12) …   Wikipedia

  • Cloop — (compressed loopback device) ist ein Modul für den Linux Kernel. Es ist eine Art Erweiterung des Loopback devices, das Unterstützung für transparent entkomprimierte Blockgeräte schafft. Es ist jedoch kein komprimiertes Dateisystem, sondern… …   Deutsch Wikipedia

  • Cloop — Cloop, n. [An onomatop[oe]ia.] The sound made when a cork is forcibly drawn from a bottle. The cloop of a cork wrenched from a bottle. Thackeray. [1913 Webster] …   The Collaborative International Dictionary of English

  • Cloop — The compressed loopback device or cloop is a module for the Linux kernel. It adds support for transparently decompressed, read only block devices. It is not a compressed file system in itself.It was originally written for the Levanta Bootable… …   Wikipedia

  • Cloop — В данной статье или разделе имеется список источников или внешних ссылок, но источники отдельных утверждений остаются неясными из за отсутствия сносок …   Википедия

  • cloop — I. ˈklüp noun ( s) Etymology: imitative : the sound made when a cork is forcibly drawn from a bottle II. intransitive verb : to make a cloop …   Useful english dictionary

  • cloop — a distinctive sucking sound made by fish such as carp (Cyprinus carpio) at the surface when feeding …   Dictionary of ichthyology

  • Damn Small Linux — Not to be confused with DSLinux, a different Linux distribution for the Nintendo DS handheld game console. Damn Small Linux Damn Small Linux 4.4.10 …   Wikipedia

  • Qcow — is a type of disk image that can be used with the QEMU emulator, the other types being vvfat, vpc, bochs, dmg, cloop, vmdk, cow, and raw, depending on the OS. The qcow image grows as data is added, and supports AES encryption and transparent… …   Wikipedia

  • Loop subdivision surface — In computer graphics, Loop subdivision surface is a subdivision scheme developed by Charles Loop in 1987 for triangular meshes. External links * Charles Loop: Smooth Subdivision Surfaces Based on Triangles , M.S. Mathematics thesis , University… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”