From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4BCD41381F3 for ; Fri, 9 Nov 2012 18:00:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 917EDE0595; Fri, 9 Nov 2012 17:59:59 +0000 (UTC) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by pigeon.gentoo.org (Postfix) with ESMTP id 893FD21C049 for ; Fri, 9 Nov 2012 17:58:50 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta15.emeryville.ca.mail.comcast.net with comcast id MSjM1k0041vN32cAFVyqEe; Fri, 09 Nov 2012 17:58:50 +0000 Received: from [127.0.0.1] ([68.43.167.113]) by omta22.emeryville.ca.mail.comcast.net with comcast id MVwp1k00U2T7hPG8iVwpMp; Fri, 09 Nov 2012 17:56:50 +0000 Message-ID: <509D43E4.4000203@comcast.net> Date: Fri, 09 Nov 2012 12:56:52 -0500 From: Chris Walters User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 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: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Hard drive change References: <1578367.xasW9aqeY9@energy> <509C5091.4040903@ccube.de> <1430915.hHFjP07X6l@energy> In-Reply-To: <1430915.hHFjP07X6l@energy> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 121109-0, 11/09/2012), Outbound message X-Antivirus-Status: Clean X-Archives-Salt: 66f54d85-434b-4aa6-9ae9-ff4664717980 X-Archives-Hash: 3247913d35fd01093b11834adeb17a1f On 11/9/2012 10:14 AM, Volker Armin Hemmann wrote: > Am Freitag, 9. November 2012, 01:38:41 schrieb mindrunner: >> volker, what is your intention to say i am dumb and stupid. actually you >> do not know me. > > everybody does something dumb and/or stupid once in a while. I average that > one to 1/day. > > There are two ways to react if someone points out that something you do is not > the best idea since sliced bread. > > -> oops. Yeah, I see it. > or > -> sulking. I'm going to have to agree with Volker on this. I don't believe he was calling *you* stupid - just the idea of using dd to transfer files from old drive to new drive. The dd utility has it's good uses - that's just not one of those good uses. > no, it does not. Apart from fragmentation you also copy all deleted files. All > damaged blocks AND the UUID. > > Oh, and it is slow (I know, fiddling with blocksize etc you can speed it up a > lot. Still slow). Yes, you copy everything with dd, and it is extremely slow. It is better to use another utility to just copy the files and directory structure from the old drive to the new one. > Create an image with dd to do some file rescuing? forensic stuff? as a template > for containers? To burn it on a dvd/cd? Well, those are valid uses for dd. > Converting files? Yes, that is what dd was made for. Agreed. > Copying a partition to another disk, different disk? Wow.. that is just wrong. > Even if both disks were identical it would not be great idea. Just a 'well, it > does work and at least I am not punishing the new disk' way to do it. > > Mind you, cp -auv is not the best way either. With ACLs&co it is not such a > good choice. And I am surprised that Joerg Schilling hasn't posted how > incredible star is for this job yet. Btw, star is a really good tool for the > job. It just needs a lot of typing. > > tar, rsync, cp, star... there are many good or good enough ways to copy files > from one harddisk to another > > dd doesn't belong in that category. Very true. I'd personally rather use tar or even dar to copy the files. cp has it's limitations, though it is faster, as it doesn't use compression (technically, you don't need that with tar, either). Regards, Chris --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 121109-0, 11/09/2012 Tested on: 11/9/2012 12:56:53 PM avast! - copyright (c) 1988-2012 AVAST Software. http://www.avast.com