RE: Comparing two partitions block by block

2006-07-26 Thread Michael Sternberg
-il@linux.org.il Subject: Re: Comparing two partitions block by block On Mon, Jul 24, 2006 at 11:30:52AM +0300, Michael Sternberg wrote: Hello. Let's say I want to test my block-level backup program. Let's say I backed up some partition 1 and restored it to partition 2 (size is equal

Re: Comparing two partitions block by block

2006-07-26 Thread Shachar Shemesh
Michael Sternberg wrote: But when does cmp -l stops ? Once it encounter EOF character ? It's a myth. There is no EOF character. It stops at the end of the partition. Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. Have you backed up today's work?

Comparing two partitions block by block

2006-07-24 Thread Michael Sternberg
Hello. Let's say I want to test my block-level backup program. Let's say I backed up some partition 1 and restored it to partition 2 (size is equal to partition 1). Let's say there were no writes to partition 1 until now. How can I compare two partitions block by block ? There is no problem