[Softlibre-edugal] Por fin clonamos vía GNU/Linux

Alberto Garcia agarcia en igalia.com
Mer Mar 7 11:44:07 CET 2007


O Mércores 07/03/2007 ás 10:59, Andrés J. Díaz dicía...

> > dd if=imagen.equipo.dd.gz | ssh equipoaclonar "gunzip - | dd of=..."
> Podéis hacer un pequeño hack, si ponéis el disco a ceros antes de
> instalar windows o lo que sea, tendréis más ratio de compresión
> debido a la forma de funcionar del método Huffman, que básicamente
> sustituye N ceros seguidos por un sólo cero, así todo el espacio en
> blanco ocupará "nada". Esto es útil si enviáis el .gz por red.

Outra alternativa seria usar partimage (http://www.partimage.org/):

"Partition Image will only copy data from the used portions of the
partition. For speed and efficiency, free blocks are not written
to the image file. This is unlike the 'dd' command, which also
copies empty blocks. Partition Image also works for large, very full
partitions.  For example, a full 1 GB partition can be compressed with
gzip down to 400MB."

Ademais funciona através da rede... 

-- 
Alberto García González
http://people.igalia.com/berto