close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of AdminCloop


Ignore:
Timestamp:
Sep 24, 2016, 4:46:29 PM (10 years ago)
Author:
bau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminCloop

    v1 v1  
     1= CLOOP =
     2
     3cloop ist ein komprimiertes Dateisystem, welches die Linux-Distribution KNOPPIX von Klaus Knopper auf der Live-DVD benutzt und ins Filesystem einhängt. LINBO benutzt für die Partitionsimages ebenfalls cloop-Dateien.
     4
     5== Manipulation eines vorhandenen cloop ==
     6Die Manipulation von von LINBO erstellten cloops wird hier beschrieben:
     7https://www.linuxmuster.net/wiki/anwenderwiki:linbo:cloop_image_mounten
     8
     9== Kernelmodul kompilieren ==
     10
     11* Die Knoppix-Sourcen herunterladen von
     12  http://debian-knoppix.alioth.debian.org/packages/linux-source-4.7.3
     13
     14  * Im deb-Archiv (Öffnen mit Archivverwaltung) findet sich
     15  * in data.tar.xz -> auch mit Archivverwaltung öffnen
     16  * in ./usr/source/linux-source[...].tar.bz2[[BR]]
     17    /drivers/block/cloop.c[[BR]]
     18    /drivers/block/cloop.h[[BR]]
     19    in einen Ordner (/cloop) entpackt
     20
     21  * Dazu habe ich das Makefile aus
     22    https://launchpad.net/ubuntu/+archive/primary/+files/cloop_3.14.1.2ubuntu1.tar.xz
     23    entpackt
     24
     25  * make module[[BR]]
     26    erzeugt dann das cloop.ko
     27
     28  * cloop.ko kopieren nach /lib/modules/`uname -r`
     29
     30  * cd /lib/modules/`uname -r`
     31
     32  * depmod[[BR]]
     33    aktualisiert die vorhandenen Module
     34
     35
     36== Ein cloop einhängen ==
     37{{{
     38    modprobe cloop file=/pfad/zum/cloop
     39    mount -r /dev/cloop0 /mountpoint
     40}}}
     41
     42== und wieder aushängen ==
     43{{{
     44    umount /mountpoint
     45    rmmod cloop
     46}}}
     47
     48== Ein Test-cloop erstellen ==
     49
     50mkisofs -R -l /pfad/zum/Inhalt | create_compressed_fs - 65536 > /pfad/zur/cloop-Datei
     51
     52
     53