Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #16851

Re: Is there a good "dd for dummies" tutorial around?

X-Received by 10.31.47.131 with SMTP id v125mr38960263vkv.11.1456358129900; Wed, 24 Feb 2016 15:55:29 -0800 (PST)
X-Received by 10.182.28.5 with SMTP id x5mr507368obg.8.1456358129861; Wed, 24 Feb 2016 15:55:29 -0800 (PST)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!y89no3983401qge.0!news-out.google.com!pn7ni1419igb.0!nntp.google.com!hb3no8754753igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.os.linux.misc
Date Wed, 24 Feb 2016 15:55:29 -0800 (PST)
In-Reply-To <tgcqpc-dvg.ln1@Telcontar.valinor>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=63.194.190.100; posting-account=mz_SwQoAAABfPUtmdtfsArlejZx7rqae
NNTP-Posting-Host 63.194.190.100
References <9be980ce-21a2-4d14-bfb4-ad96dcd9a5a5@googlegroups.com> <ck6qpc-lj9.ln1@minas-tirith.valinor> <tgcqpc-dvg.ln1@Telcontar.valinor>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <adbb4675-e3d0-4d13-a513-c53127b76d59@googlegroups.com> (permalink)
Subject Re: Is there a good "dd for dummies" tutorial around?
From pureheart@pacbell.net
Injection-Date Wed, 24 Feb 2016 23:55:29 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 2735
X-Received-Body-CRC 343602644
Xref csiph.com comp.os.linux.misc:16851

Show key headers only | View raw


On Sunday, February 21, 2016 at 7:45:17 PM UTC-8, Carlos E.R. wrote:
> On 2016-02-22 02:59, Carlos E. R. wrote:
> > On 2016-02-20 19:04, .net wrote:
> >> This is probably considered basic stuff but I'm still having trouble understanding dd.
> >>
> >> In particular, why do the things it writes/reads to have to be *un*mounted?
> > 
> > They don't. It depends on what you want to do.
> 
> To clarify.
> 
>  dd if=/tmp/somefile of=/tmp/someotherfile
> 
> needs the filesystem be mounted. while:
> 
>  dd if=/dev/sdb1 of=/tmp/imageofsdb1
> 
> can run while sdb1 is mounted, but the resulting image will be "dirty";
> ie, it will at need an fsck before being used. And if something changes
> in the mounted sdb1 while the copy runs, the resulting image will be
> inconsistent.
> 
> This one:
> 
>  dd if=/tmp/imageofsdb1 of=/dev/sdb1
> 
> might (at worst) provoke a crash of some kind if sdb1 is mounted while
> you write to it this way.
> 
> 
> None of that is specific to 'dd', but to copy and filesystem operations,
> regardless of whatever tool you use.
> 
> In fact, all those operations can be done with a plain "cp", ie, the
> copy file program.
> 
> -- 
> Cheers, Carlos.
> 
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Hi Carlos.
Thank you and all the others for the replies.
I have no task in mind, I just have a hard time understanding how it can do *anything* to unmounted drives....the replies have helped set me straight, Mr. Heller's reply, especially.

Thanks, guys.
pH

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Is there a good "dd for dummies" tutorial around? pureheart@pacbell.net - 2016-02-20 10:04 -0800
  Re: Is there a good "dd for dummies" tutorial around? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-02-20 20:24 +0200
  Re: Is there a good "dd for dummies" tutorial around? William Unruh <unruh@invalid.ca> - 2016-02-20 18:26 +0000
  Re: Is there a good "dd for dummies" tutorial around? Robert Heller <heller@deepsoft.com> - 2016-02-20 12:40 -0600
  Re: Is there a good "dd for dummies" tutorial around? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-02-20 14:10 -0500
  Re: Is there a good "dd for dummies" tutorial around? "Carlos E. R." <robin_listas@invalid.es> - 2016-02-22 02:59 +0100
    Re: Is there a good "dd for dummies" tutorial around? "Carlos E.R." <robin_listas@invalid.es> - 2016-02-22 04:39 +0100
      Re: Is there a good "dd for dummies" tutorial around? pureheart@pacbell.net - 2016-02-24 15:55 -0800
        Re: Is there a good "dd for dummies" tutorial around? "Carlos E. R." <robin_listas@invalid.es> - 2016-02-26 03:39 +0100
          Re: Is there a good "dd for dummies" tutorial around? pureheart@pacbell.net - 2016-02-29 18:05 -0800
            Re: Is there a good "dd for dummies" tutorial around? The Natural Philosopher <tnp@invalid.invalid> - 2016-03-01 02:45 +0000
            Re: Is there a good "dd for dummies" tutorial around? "Carlos E.R." <robin_listas@invalid.es> - 2016-03-01 11:14 +0100

csiph-web