On Sun, 11 Apr 2004 peter@xxxxxxxxx wrote: > On Sun, Apr 11, 2004 at 12:14:48PM -0700, IAK Tanoli wrote: > > > > Step 4: > > copy dir. to that paritions > > # cp -rf /home /mnt/hd2 > > # cp -rf /var /mnt/hd3 > > this step is fatal! > by doing a -rf you will lose all file-attributes like owner:group and > permissions > > user cp -a instead! actually, it would be better to use something like cpio or tar, you will run into issues with cp if it finds certain device special files (like /dev/zero) that have been created in the /var filesystem (it should be safe to expect these to not appear within /home but you never know.. :-) ) cd /newvar find /var -print -depth | cpio -pmvd . -- Steve. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list