TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JACK4747@GMAIL.COM
from: ROB MORLEY
date: 2017-04-19 14:32:00
subject: Re: [SOLVED] {dd if=/dev/

On Wed, 19 Apr 2017 05:41:53 -0700 (PDT)
jack4747@gmail.com wrote:

> Il giorno domenica 9 aprile 2017 04:47:48 UTC+2, DisneyWizard the
> Fantasmic! ha scritto:

> > dd if=/dev/sdb of=/dev/sda &
> >
>
> also the most stupid choice in this case.
> dd will copy EVERYTHING, even empty space.

The drive is nearly full, so there won't be much empty space.  If the
drive is reading one file at a time it will likely have to perform seeks
in a number of fragmented files (the likelihood of this is increased by
the fullness of the drive) while dd will read each track consecutively.

> And also partition table etc. so the result will be a 3TB disk with a
> 500GB partition, that you then have to expand using parted or similar.

But copying the whole disk rather than just individual files you don't
need to format the target drive before copying.
>
> Much better (and faster) in this case to mount both HDs and do a cp
> -a.

I doubt there's much in it - it's possible dd will be faster because of
fragmentation.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.