From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OLL8D-0004hE-W7 for garchives@archives.gentoo.org; Sun, 06 Jun 2010 19:03:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9982CE0DDF; Sun, 6 Jun 2010 19:03:19 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A138E0D77 for ; Sun, 6 Jun 2010 19:03:19 +0000 (UTC) Received: by gyg8 with SMTP id 8so1821273gyg.40 for ; Sun, 06 Jun 2010 12:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CXy7QmL3HnCs124CQFCnDLJPvDWgZ0Cj7S6HaGrO3Ps=; b=uScqtkS2Vg7Q4hscJyCl0zVjQopLyYFklWKsRyI4aPXCkRDa7b7eLzxRSRzagvwQlv J4SkKOGCpGr2Fb97YD7jT3/SaQ5oJqcZKzpsP7TXh8IZsgr6Ds4rPmt4wlknLxBdOElF EF+aSbQBiCAhIXyFcewEya99YCgVsfMxLdkqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=khtS0EjkboaFlny3R13Lz6ZEVWhS6ptJ2rpJJquUd2uxxnk/sxkSDFCVjwRLWmEPJq dKICv8xQN+auFiyoEdGzyd+wuGfXI9lBgKPJNoMFDEdsswHVqADWglGjGcGLQCqSd8oo /ygsXgU+jQo0NYspWU8qSjh2+XE5szVtpg978= Received: by 10.101.211.40 with SMTP id n40mr14475489anq.174.1275850999013; Sun, 06 Jun 2010 12:03:19 -0700 (PDT) Received: from [127.0.0.1] ([91.198.227.49]) by mx.google.com with ESMTPS id n18sm19810223anl.12.2010.06.06.12.03.11 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Jun 2010 12:03:17 -0700 (PDT) Message-ID: <4C0BF0B2.3080604@gmail.com> Date: Sun, 06 Jun 2010 15:02:10 -0400 From: 7v5w7go9ub0o <7v5w7go9ub0o@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100410 Lightning/1.0b2pre Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: for list Subject: [gentoo-user] Re: Fast checksumming of whole partitions References: <20100605063956.GA5125@solfire> <4C0A8BC5.9040305@gmail.com> <20100605192331.GA11007@solfire> <201006052211.59256.m.klemenz@gmx.at> In-Reply-To: <201006052211.59256.m.klemenz@gmx.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1f0af88f-f885-4501-b52e-f17e56635bb9 X-Archives-Hash: 6e8f13dcfc7a8aa90a125ab6e33e94c0 On 06/05/10 16:11, Manuel Klemenz wrote: > I'm calculating checksums over partitions just by calling # md5sum > /dev/sda1 or for the complete disk (incl. partition table + all > partitions) # md5sum /dev/sda > > that's it :) - works with any distro/liveDVD > Yep...... don't have to fool with an oddball program (dcfldd). So if you're dd'ing a disk, you need to: 1. dd the source to the destination. 2. md5sum the source 3. md5sum the destination. (3 passes on a big disk(s) takes a long time.) But if you use dcfldd instead of dd for the copy, then you'll get both the copy and the md5 on the first pass. 1. dcfldd the source to the destination; get the md5. 2. md5sum the destination. And if you use dcfldd instead of md5sum to run the destination hash, you can specify a large (e.g. 4 gig) blocksize - cutting back on disk I/O, wear and tear, and time required to hash the destination.