copying_disk_or_filesystem

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Tue, 4 Apr 2000 14:41:30 -0700 (PDT)
From: Deirdre Saoirse <deirdre@deirdre.net>
To: Fritz Zuhl <fritzuhl@creative.net>
Subject: Re: easiest way to copy a disk or filesystem

On Tue, 4 Apr 2000, Fritz Zuhl wrote:

> So, I have looked high and low within various Linux document libraries,
> but I cannot find an easy way to copy one disk to another.  I would be
> happy to be able to copy one filesystem to another.

man dd

To copy a floppy to a floppy image in a file:

dd if=/dev/fd0 of=~/floppy.img

> Does anyone have any suggestions on how to copy disks or filesystems?

If you want to copy *files*, you're better off using things like tar,
rsync, or something else. Since you weren't specific, I can't give a
specific answer.

> Can I use Microsoft utilities such as "Drive Image" or "Norton Ghost?"

No.

-- 
_Deirdre   *   http://www.linuxcabal.org   *   http://www.deirdre.net
"The year after I was born, we walked on the moon. Now, 31 years later,
it's considered an impressive feat of science to grow tomatoes in low 
Earth orbit."                           -- John Miles <ke5fx@qsl.net>



________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 14:57:42 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id OAA51926
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 14:57:41 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id OAA25763;
	Tue, 4 Apr 2000 14:36:51 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from janus (mail@adsl-216-102-162-162.dsl.snfc21.pacbell.net [216.102.162.162])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id OAA25760
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 14:36:50 -0700
Received: from janus
	([127.0.0.1] helo=gutschke.com ident=www-data)
	by janus with esmtp (Exim 3.12 #1 (Debian))
	for balug-talk@balug.org
	id 12capz-0004gv-00; Tue, 04 Apr 2000 14:26:15 -0700
MIME-Version: 1.0
X-Originating-IP: [209.81.16.2]
User-Agent: IMHO/0.97.1 (Webmail for Roxen)
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
X-Face: +.[`xCMz]E6GW}5ECgY#C"Er6&v$q7:oe+zPlPtOh>/US;9B>;)ro_lpLx9/]q_{u-\YR>rP&)Da0gS,PW{@BWSG,PIV)3#J<$Ft_t]qa!xF~'*wuwg-CJj*0:EUr3z}y
Date: Tue, 04 Apr 2000 14:26:14 -800
To: BALUG  <balug-talk@balug.org>
In-Reply-To: <38EA5FC7.6C8A1716@creative.net>
Subject: Re: easiest way to copy a disk or filesystem
From: Markus Gutschke <markus@gutschke.com>
Message-Id: <E12capz-0004gv-00@janus>

===














Date: Tue, 4 Apr 2000 19:03:00 -0700 (PDT)
From: Michael Higashi <mhigashi@hooked.net>
To: Fritz Zuhl <fritzuhl@creative.net>
Subject: Re: easiest way to copy a disk or filesystem


On Tue, 4 Apr 2000, Deirdre Saoirse wrote:

> On Tue, 4 Apr 2000, Fritz Zuhl wrote:
> 
> > Can I use Microsoft utilities such as "Drive Image" or "Norton Ghost?"
> 
> No.

Actually, I've seen Richard Couture use Ghost to copy ext2 partitions.
Ghost v6 or later is also supposed to be able to resize ext2 partitions,
but I don't know how well that works.

Ghost is a DOS program, so it may be of little use to some people.


Mike

--
Michael Higashi
mhigashi@hooked.net
http://www.niats.com/



________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 19:45:35 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id TAA53866
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 19:45:35 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id TAA01252;
	Tue, 4 Apr 2000 19:42:44 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from wenet.net (rod.gstis.net [207.170.196.195])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id TAA01249
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 19:42:44 -0700
Received: from frinky.wenet.net (frinky [216.64.144.165])
	by wenet.net (8.9.3/8.9.3) with ESMTP id TAA16242;
	Tue, 4 Apr 2000 19:33:28 -0700 (PDT)
Received: from localhost (mhigashi@localhost)
	by frinky.wenet.net (8.9.3/8.9.3) with ESMTP id TAA05138;
	Tue, 4 Apr 2000 19:31:24 -0700 (PDT)
Date: Tue, 4 Apr 2000 19:31:24 -0700 (PDT)
From: Michael Higashi <mhigashi@hooked.net>
X-Sender: mhigashi@frinky
To: Rick Moen <rick@linuxmafia.com>
cc: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
In-Reply-To: <20000404191432.M26866@uncle-enzo.imat.com>
Message-ID: <Pine.GSO.4.10.10004041916270.4600-100000@frinky>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

===














Date: Tue, 4 Apr 2000 19:40:19 -0700
From: Rick Moen <rick@linuxmafia.com>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem

Quoting Michael Higashi (mhigashi@hooked.net):

> Ghost can also be used to copy from one hard drive to another in the same
> system, not just over a network. Or from a CD that holds Ghost's image
> file of the original partition to a hard drive.

Quite so.  But the questioner did specify "over a TCP network".

-- 
Cheers,              "By reading this sentence, you agree to be bound by the 
Rick Moen             terms of the Internet Protocol, version 4, or, at your 
rick (at) linuxmafia.com   option, any later version."  -- Seth David Schoen


________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 19:59:26 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id TAA53919
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 19:59:26 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id TAA01090;
	Tue, 4 Apr 2000 19:40:34 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from hugin.imat.com (uncle-enzo.linuxmafia.COM [140.174.70.21])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id TAA01087
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 19:40:33 -0700
Received: (from rick@localhost)
	by hugin.imat.com (8.9.3/8.9.3/Debian/GNU) id TAA29798
	for balug-talk@balug.org; Tue, 4 Apr 2000 19:29:59 -0700
Date: Tue, 4 Apr 2000 19:29:59 -0700
From: Rick Moen <rick@linuxmafia.com>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
Message-ID: <20000404192959.A29733@uncle-enzo.imat.com>
1Mail-Followup-To: BALUG <balug-talk@balug.org>
References: <E12capz-0004gv-00@janus> <38EAA2EB.9F0B6ABE@creative.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <38EAA2EB.9F0B6ABE@creative.net>; from fritzuhl@creative.net on Tue, Apr 04, 2000 at 07:20:27PM -0700
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-fnord: +++ath
X-CABAL: There is no CABAL.
X-CABAL-URL: There is no http://linuxmafia.com/cabal/
X-Eric-Conspiracy: There is no conspiracy.
X-Eric-regex-matching: There are no stealth members of the conspiracy.

===










Date: Tue, 04 Apr 2000 19:53:37 -800
To: BALUG  <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
From: Markus Gutschke <markus@gutschke.com>

> Sorry, I did not ask my orginal question properly.
> I want to copy a hard disc, bit by bit.  in a similar fashion that the
> Microsoft-based software Norton Ghost or Drive Image.   And, I hope to do it
> over a TCP network, as Norton Ghost and Drive Image.
> Is there such a counter-part within the Linux world?

On the destination machine

 nc -l -p 7777 >/dev/hda

On the source machine:

 nc destinationmachine 7777 </dev/hda

If your computer does not have a copy of "nc", then go to
http://www.freshmeat.net and ask it where to download "netcat".

Be careful that both of your machines have the exact same size
harddrive and be warned that the above will wipe out everything
on the primary IDE drive on your destination machine (replace
/dev/hda with the device name for the drives that you want to copy
from/to).

If you do not want to do a block level copy, then you are better
off copying the individual files. In order to do this, pipe tar
through netcat; try the following:

On the destination machine:

  nc -l -p 7777 | (cd destdir && tar xzvfpS - )

On the source machine:

  cd sourcedir && tar czfpS - . | nc destinationmachine 7777

Of course there are plenty of other ways to do this. "rdist" would
be an obvious example.



Markus


P.S.: I currently do not have any spare harddrives that I do not
      mind reformatting, so I have not tested any of the above. Let
      me know, if these commands do not work (you might have to
      throw "dd" into the mix, to make sure that writes to the
      block device are performed in units of 512 bytes).

-- 
Markus Gutschke                                Resonate, Inc.
3637 Fillmore Street #106                      385 Moffett Park Drive
San Francisco, CA 94123-1600                   Sunnyvale, CA 94089
+1-415-567-8449                                +1-408-548-5528
markus@gutschke.com                            mgutschk@resonate.com


________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 20:00:05 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id UAA53933
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 20:00:05 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id TAA00592;
	Tue, 4 Apr 2000 19:25:52 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from hugin.imat.com (uncle-enzo.linuxmafia.COM [140.174.70.21])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id TAA00589
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 19:25:51 -0700
Received: (from rick@localhost)
	by hugin.imat.com (8.9.3/8.9.3/Debian/GNU) id TAA29714
	for balug-talk@balug.org; Tue, 4 Apr 2000 19:14:32 -0700
Date: Tue, 4 Apr 2000 19:14:32 -0700
From: Rick Moen <rick@linuxmafia.com>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
Message-ID: <20000404191432.M26866@uncle-enzo.imat.com>
Mail-Followup-To: BALUG <balug-talk@balug.org>
References: <Pine.LNX.4.10.10004041439290.12535-100000@rockhopper.deirdre.org> <Pine.GSO.4.10.10004041854050.4600-100000@frinky>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <Pine.GSO.4.10.10004041854050.4600-100000@frinky>; from mhigashi@hooked.net on Tue, Apr 04, 2000 at 07:03:00PM -0700
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-fnord: +++ath
X-CABAL: There is no CABAL.
X-CABAL-URL: There is no http://linuxmafia.com/cabal/
X-Eric-Conspiracy: There is no conspiracy.
X-Eric-regex-matching: There are no stealth members of the conspiracy.

===








Date: Tue, 4 Apr 2000 19:58:48 -0700
From: Rick Moen <rick@linuxmafia.com>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem

Quoting Markus Gutschke (markus@gutschke.com):

> On the destination machine
> 
>  nc -l -p 7777 >/dev/hda

[...]

Oh yes!  

Fritz, kindly ignore everything I said, and listen to Markus.  ;->
 
-- 
Cheers,              "By reading this sentence, you agree to be bound by the 
Rick Moen             terms of the Internet Protocol, version 4, or, at your 
rick (at) linuxmafia.com   option, any later version."  -- Seth David Schoen


________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 20:58:01 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id UAA54176
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 20:58:01 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id UAA03550;
	Tue, 4 Apr 2000 20:56:36 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from under.eng.cp.net (under.sfo1.us.cp.net [209.228.3.49])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id UAA03547
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 20:56:35 -0700
Received: from localhost (cp.net) [127.0.0.1] (claw)
	by under.eng.cp.net with esmtp (Exim 3.12 #1 (Debian))
	id 12cgky-0003lM-00; Tue, 04 Apr 2000 20:45:28 -0700
To: Fritz Zuhl <fritzuhl@creative.net>
cc: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem 
In-Reply-To: Message from Fritz Zuhl <fritzuhl@creative.net> 
   of "Tue, 04 Apr 2000 19:20:27 PDT." <38EAA2EB.9F0B6ABE@creative.net> 
References: <E12capz-0004gv-00@janus>  <38EAA2EB.9F0B6ABE@creative.net> 
Date: Tue, 04 Apr 2000 20:45:28 -0700
From: J C Lawrence <claw@cp.net>
Message-Id: <E12cgky-0003lM-00@under.eng.cp.net>

===










Date: Tue, 4 Apr 2000 21:25:47 -0700 (PDT)
From: Deirdre Saoirse <deirdre@deirdre.net>
To: Fritz Zuhl <fritzuhl@creative.net>
Subject: Re: easiest way to copy a disk or filesystem

On Tue, 4 Apr 2000, Fritz Zuhl wrote:

> Sorry, I did not ask my orginal question properly.
> I want to copy a hard disc, bit by bit.  in a similar fashion that the
> Microsoft-based software Norton Ghost or Drive Image.   And, I hope to do it
> over a TCP network, as Norton Ghost and Drive Image.
> Is there such a counter-part within the Linux world?

dd will do it locally. If you want to do it over a network,  pipe the
output of dd into a process that goes to another machine. Simple, see?

The reason you're not seeing it is that you're not used to thinking of
programs as construction pieces. Think of it as a tinker toys problem.

-- 
_Deirdre   *   http://www.linuxcabal.org   *   http://www.deirdre.net
"The year after I was born, we walked on the moon. Now, 31 years later,
it's considered an impressive feat of science to grow tomatoes in low 
Earth orbit."                           -- John Miles <ke5fx@qsl.net>



________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 21:53:43 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id VAA54419
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 21:53:43 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id VAA04866;
	Tue, 4 Apr 2000 21:43:53 -0700
Received: from rockhopper.deirdre.org (deirdre@[209.81.22.254])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id VAA04863
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 21:43:53 -0700
Received: from localhost (deirdre@localhost)
	by rockhopper.deirdre.org (8.9.3/8.9.3) with ESMTP id VAA15414;
	Tue, 4 Apr 2000 21:31:55 -0700
X-Authentication-Warning: rockhopper.deirdre.org: deirdre owned process doing -bs
Date: Tue, 4 Apr 2000 21:31:55 -0700 (PDT)
From: Deirdre Saoirse <deirdre@deirdre.net>
X-Sender: deirdre@rockhopper.deirdre.org
To: Markus Gutschke <markus@gutschke.com>
cc: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
In-Reply-To: <E12cfwo-0000A4-00@janus>
Message-ID: <Pine.LNX.4.10.10004042129340.15314-100000@rockhopper.deirdre.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

===













Date: Tue, 4 Apr 2000 22:03:30 -0700
From: Joey Hess <joey@kitenet.net>
To: Deirdre Saoirse <deirdre@deirdre.net>
Cc: Markus Gutschke <markus@gutschke.com>, BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem

Deirdre Saoirse wrote:
> My feeling is that it's easier to pipe dd through ssh and have ssh handle
> BOTH ends at the same time (presuming sshd is running on the target
> machine). Imho, this is a more idiot-proof idea.

Hmm, ssh isn't 8-bit clean though, is it? IIRc, it uses ~ for escapes.
So eg "~?" will not go through ssh cleanly (try it). 

Sure, ssh is fine, if you're carful to specify -e none on both ends.

-- 
see shy jo


________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 22:22:10 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id WAA54530
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 22:22:09 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id WAA06005;
	Tue, 4 Apr 2000 22:19:53 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from illuminati.linuxcabal.org (root@illuminati.linuxcabal.ORG [204.94.189.253])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id WAA06002
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 22:19:52 -0700
Received: from zork.zork.net (zork.NET [204.94.189.42])
	by illuminati.linuxcabal.org (8.8.7/8.8.7) with ESMTP id WAA07358
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 22:13:15 -0700
Received: from nick by zork.zork.net with local (Exim 2.05 #1 (Debian))
	id 12ci46-0000w7-00; Tue, 4 Apr 2000 22:09:18 -0700
Date: Tue, 4 Apr 2000 22:09:18 -0700
From: Nick Moffitt <nick@zork.net>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
Message-ID: <20000404220918.S18019@zork.net>
Mail-Followup-To: BALUG <balug-talk@balug.org>
References: <20000404191432.M26866@uncle-enzo.imat.com> <Pine.GSO.4.10.10004041916270.4600-100000@frinky> <20000404194018.B29733@uncle-enzo.imat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <20000404194018.B29733@uncle-enzo.imat.com>; from rick@linuxmafia.com on Tue, Apr 04, 2000 at 07:40:19PM -0700
X-Motd-Size: 49 lines long
X-Fnord: +++ath
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black

===







Date: Tue, 4 Apr 2000 22:06:07 -0700 (PDT)
From: Deirdre Saoirse <deirdre@deirdre.net>
To: Joey Hess <joey@kitenet.net>
Subject: Re: easiest way to copy a disk or filesystem

On Tue, 4 Apr 2000, Joey Hess wrote:

> Deirdre Saoirse wrote:
> > My feeling is that it's easier to pipe dd through ssh and have ssh handle
> > BOTH ends at the same time (presuming sshd is running on the target
> > machine). Imho, this is a more idiot-proof idea.
> 
> Hmm, ssh isn't 8-bit clean though, is it? IIRc, it uses ~ for escapes.

Good point.

> So eg "~?" will not go through ssh cleanly (try it). 
> 
> Sure, ssh is fine, if you're carful to specify -e none on both ends.

Well, I dunno why anyone would want a bit copy of anything, I was just
trying to answer the question. I have used rsync over ssh a lot though.

-- 
_Deirdre   *   http://www.linuxcabal.org   *   http://www.deirdre.net
"The year after I was born, we walked on the moon. Now, 31 years later,
it's considered an impressive feat of science to grow tomatoes in low 
Earth orbit."                           -- John Miles <ke5fx@qsl.net>



________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Tue Apr  4 22:38:59 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id WAA54572
	for <doom@kzsu.stanford.edu>; Tue, 4 Apr 2000 22:38:59 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id WAA06706;
	Tue, 4 Apr 2000 22:39:05 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from marine.sonic.net (marine.sonic.net [208.201.224.37])
	by flynn.linuxcare.com (8.8.7/8.8.7) with SMTP id WAA06703
	for <balug-talk@balug.org>; Tue, 4 Apr 2000 22:39:04 -0700
Received: (qmail 588 invoked from network); 5 Apr 2000 05:28:30 -0000
Received: from sub.sonic.net (208.201.224.8)
  by marine.sonic.net with SMTP; 5 Apr 2000 05:28:30 -0000
Received: from sonic.net (bolt.sonic.net [208.201.224.36])
	by sub.sonic.net (8.9.3/8.8.5) with ESMTP id VAA03983;
	Tue, 4 Apr 2000 21:28:02 -0700
X-envelope-info: <bear@bolt.sonic.net>
Received: from localhost (bear@localhost) by sonic.net (8.8.8/8.7.3) with SMTP id WAA03212; Tue, 4 Apr 2000 22:20:21 -0700
Date: Tue, 4 Apr 2000 22:20:21 -0700 (PDT)
From: Ray Dillinger <bear@sonic.net>
To: Fritz Zuhl <fritzuhl@creative.net>
cc: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
In-Reply-To: <38EAA2EB.9F0B6ABE@creative.net>
Message-ID: <Pine.LNX.3.96.1000404221917.2614A-100000@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

===













Date: Tue, 4 Apr 2000 23:06:03 -0700 (PDT)
From: Chris Maresca <ckm@crust.net>
To: Ray Dillinger <bear@sonic.net>
Subject: Re: easiest way to copy a disk or filesystem


Right.  You can also dd an unmounted device.  Usefull for corrupted
drives/diskettes that won't mount.

It's also a technique you can use to recover files from earsed or damaged
diskettes.

dd is either one of those tools on steroids.

Chris.

--
chris maresca
internet systems architect - scalability - commerce
  http://www.crust.net/bio - 415.430.2174  x1055

"linux, up 101 days, because it can."

On Tue, 4 Apr 2000, Ray Dillinger wrote:

> 
> 
> 
> 
> On Tue, 4 Apr 2000, Fritz Zuhl wrote:
> 
> >Sorry, I did not ask my orginal question properly.
> >I want to copy a hard disc, bit by bit.  in a similar fashion that the
> >Microsoft-based software Norton Ghost or Drive Image.   And, I hope to do it
> >over a TCP network, as Norton Ghost and Drive Image.
> >Is there such a counter-part within the Linux world?
> >
> >Thank you in advance.
> >- - -
> >Fritz Zuhl
> >fritzuhl@creative.net
> >
> 
> Sure.  just mount the remote drive on the network and then use dd.
> 
> 			Ray
> 
> 
> 
> ________________________________________________________________________
> This message was sent by the balug-talk mailing list. To unsubscribe:
> echo unsubscribe | mail -s '' balug-talk-request@balug.org
> 



________________________________________________________________________
This message was sent by the balug-talk mailing list. To unsubscribe:
echo unsubscribe | mail -s '' balug-talk-request@balug.org

From owner-balug-talk@balug.org  Thu Nov 09 11:33:51 2000Delivery-Date: Wed Apr  5 08:50:53 2000
Return-Path: <owner-balug-talk@balug.org>
Received: from flynn.linuxcare.com (IDENT:majordom@flynn.linuxcare.com [209.81.15.126])
	by kzsu.stanford.edu (8.9.3/8.9.3) with ESMTP id IAA56722
	for <doom@kzsu.stanford.edu>; Wed, 5 Apr 2000 08:50:53 -0700 (PDT)
	(envelope-from owner-balug-talk@balug.org)
Received: (from majordom@localhost)
	by flynn.linuxcare.com (8.8.7/8.8.7) id IAA20722;
	Wed, 5 Apr 2000 08:37:29 -0700
X-Authentication-Warning: flynn.linuxcare.com: majordom set sender to owner-balug-talk@balug.org using -f
Received: from hugin.imat.com (uncle-enzo.linuxmafia.COM [140.174.70.21])
	by flynn.linuxcare.com (8.8.7/8.8.7) with ESMTP id IAA20719
	for <balug-talk@balug.org>; Wed, 5 Apr 2000 08:37:28 -0700
Received: (from rick@localhost)
	by hugin.imat.com (8.9.3/8.9.3/Debian/GNU) id IAA31777
	for balug-talk@balug.org; Wed, 5 Apr 2000 08:26:53 -0700
Date: Wed, 5 Apr 2000 08:26:52 -0700
From: Rick Moen <rick@linuxmafia.com>
To: BALUG <balug-talk@balug.org>
Subject: Re: easiest way to copy a disk or filesystem
Message-ID: <20000405082652.K29733@uncle-enzo.imat.com>
Mail-Followup-To: BALUG <balug-talk@balug.org>
References: <20000404191432.M26866@uncle-enzo.imat.com> <Pine.GSO.4.10.10004041916270.4600-100000@frinky> <20000404194018.B29733@uncle-enzo.imat.com> <20000404220918.S18019@zork.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <20000404220918.S18019@zork.net>; from nick@zork.net on Tue, Apr 04, 2000 at 10:09:18PM -0700
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-fnord: +++ath
X-CABAL: There is no CABAL.
X-CABAL-URL: There is no http://linuxmafia.com/cabal/
X-Eric-Conspiracy: There is no conspiracy.
X-Eric-regex-matching: There are no stealth members of the conspiracy.

===









the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu