On Thu, Mar 23, 2000 at 09:06:10PM +0300, Gaal Yahas wrote: > On Thu, Mar 23, 2000 at 09:00:21PM +0200, Adi Stav wrote: > > > Say you want to back up your machine completely onto another. > > > > > > backup% nc -l -p 12345 > host.raw > > > host% dd if=/dev/hda | nc backup 12345 > > > > > > If host gets messed up, boot a rescue diskette on it, set up the > > > network, and do: > > > > > > host% nc -l -p 12345 | dd of=/dev/hda > > > backup% dd if=host.raw | nc host 12345 > > > > Hmm... Can't find any nc command on either a Red Hat or a Debian > > system. Looks pretty cool though. Now... I can't try rsh on this > > network here, but how about: > > netcat is an *extremely* useful utility. Check it out on > www.l0pht.com (sorry, don't remember the exact URL, and netvision > seem to drop 98% of my packets there right now, so I can't check). Thanks! :) Available as package "netcat" in Debian, now that I know the full name. > > host% dd if=/dev/hda1 | rsh backup "dd of=host.raw" > > > > > The degree by which you could trust cat or cp is unknown to me. In > > > these cases, I still use dd for something else than in vi <g> > > > > Trust? > > Sure, trust. Cats can be wonderful, but would you trust one to > transfer your disk over the network? Why not? Wouldn't the network be the weak link here... Does the cat have a greater chance than dd to... to doing what, really? (Feeling like I'm missing something obvious...) > -- > believing is seeing > [EMAIL PROTECTED] > http://www.forum2.org/gaal/ - Adi Stav ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]