Subject: Re: Moving NetBSD (2.0.2 x386) to bigger disk
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-users
Date: 08/20/2005 20:53:33
In article <4306CE4A.3000706@gravier.org>,
	Gilles Gravier <Gilles@Gravier.org> writes:
> cp -r will probably mess up links and special devices.

If you use "cp -Rp" it will preserve permission and handle symbolic
links and devices correctly.

I would however recomment using "dump" and "restore".

> If I can avoid re-install and cp -r /etc /home /var /usr/pkg /usr/pkgsrc 
> then I'll be happy. :)

That's absolutely unnecessary. My server started as 486@66MHz with a
1GB IDE nine years ago. And since then it has been migrated to newer
hardware (including newer disks) several times. And I never had to
reinstall it.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/