Stombi Home Page

mkfifo

J’adore ce genre d’astuces :)

Hi this article was awesome I am using the same technique to image a hard drive to a new one. First i booted both of the laptops to live cd’s then i did:

local$ mkfifo ddfifo; dd if=/dev/hda | bzip2 > ddfifo

remote$ nc -l -p 5000 | bunzip2 | dd of=/dev/hda

local$ cat ddfifo | nc remote 5000

Now I have my old filesystem perfectly set up on my new laptop….ta da.

Source : ce commentaire