Thanks Glynn, and Roger, for the info..

It makes sense that the source partition should be mounted RO- I guess I
was more curious about the target partition being unmounted. If it's
unmounted you can do a dd. But if you tar, (like in the bash script), it
has to be mounted, doesn't it? (dd is at the device level, tar is not?
Am I right?) 

On another note, I got all new messages on this(ese) lists today as
single instances, while your replies (from Glynn Clements and Roger)
both had duplicates! Not a problem for me, but what's causing this?

-Harold

--------
       You know Smithers, it's ironic. That family of
       slack-jawed  troglodytes cost  me the election,
       but if I were to have them killed, *I* would be
       the one sent to jail. That's democracy for you.

       -Charles Montgomery Burns                                  


On Sat, 9 May 1998, Glynn Clements wrote:

> 
> > If you use dd, ensure that the source partition is mounted
> > read-only, and that the target partition is unmounted.
> > 
> If you try to duplicate a writeable partition with dd, and the
> partition is modified in any way whilst it's being duplicated (e.g. an
> extra line written to a log file, or whatever), the resulting
> partition may not be valid.
> 
> I'm not sure that it's necessary for the target to be unmounted, but
> unless I was sure (which I'm not) that the OS can deal with a mounted
> partition being modified at the device level (rather than at the
> filesystem level), then I'd unmount it just be sure.
> 
> -- 
> Glynn Clements <[EMAIL PROTECTED]>
> 

Reply via email to