Re: Using dd to copy a disk.
On Mon, 2003-07-28 at 20:25, Colin Watson wrote:
> On Mon, Jul 28, 2003 at 04:09:32PM -0500, Ron Johnson wrote:
> > On Mon, 2003-07-28 at 15:32, Alan Connor wrote:
> > > Use cp -a . Dd is just a dumb parrot and knows nothing about filesystems.
> >
> > One thing to watch about, though, is that symlinks will remain pointing
> > back to the original "real" file, even though the "real" file has
> > also been copied to the dest drive.
>
> Only absolute symlinks, which are relatively rare; and if he's cloning a
/etc/alternatives is chock full of them.
Relatives could still be a problem, depending on what kind of redirect-
ion there is.
> drive I'd assume he's planning to mount it in the same position in the
> filesystem anyway?
What does that mean? How can you do that if you want to clone a
disk on a live system?
--
+-----------------------------------------------------------------+
| Ron Johnson, Jr. Home: ron.l.johnson@cox.net |
| Jefferson, LA USA |
| |
| "I'm not a vegetarian because I love animals, I'm a vegetarian |
| because I hate vegetables!" |
| unknown |
+-----------------------------------------------------------------+
Reply to: