Does the "cp" command make softlink as softlinks, or did it copy all the
stuf as it is, whitout making softlinks.
Personaly, I prefer the TAR command.
Regards
Pascal Miquet
----- Original Message -----
From: "Cliff Sarginson"
On Wed, Oct 24, 2001 at 12:20:38PM -0500, Robert C. Paulsen Jr. wrote:
On Wed, Oct 24, 2001 at 01:09:52PM -0400, Baris Hasdemir wrote:
hi,
my partitions are those /dev/hdb1 /boot /dev/hdb2 swap /dev/hdb3 /
I want to move /home directory to another hdd for later installs.
You don't need to reboot to do this.
1. Be sure all users with a directory under /home are logged out. 2. Log in as root. 3. Format your "other" partition as ext2. and mount it as /mnt.
No-one has told him how to do this yet !
mke2fs /dev/other
replacing "other" by the hd device name of course.
4. Copy everything from /home to /mnt. The trick to this is to use the a and x options:
cp -ax /home/* /mnt
5. umount /mnt 6. umount /home 7. Edit /etc/fstab to put /home on the new pertition. 8. mount /home
All done!
-- Regards Cliff
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com