[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Adding extra disks
Hi
I would like to add an extra disk to a linux box, so I can mount /usr on the
new drive.
I guess I
1. Add new drive (say primary ide slave)
2. boot
3. fdisk /dev/hdb
4. mount /dev/hdb /mnt
5. copy contents of /usr to /mnt
6. edit fstab
7. rm -fr /usr
8. umount /mnt
8. mount -a
at step 5 I guess if i use cp -R /usr /mnt it will copy symbolic links as
hard links (or something) so what I want to do is cp -dR /usr /mnt or even
cp -dpR /usr/mnt (I'm not really sure about the p and d flags).
Is this the correct procedure ..?
ALan Dawson
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.