Re: POP3 and old mail & Installing a new HD
Hi Fraser,
I suggest you do like this.
# shutdown now
... entering single user mode
# mkdir /mnt/newdisk # change according to your own taste
# mount /dev/hdc1 /mnt/newdisk # don't forget to edit /etc/fstab
# (cd /var/spool ; find mail -xdev | cpio -pm /mnt/newdisk)
# mv /var/spool/mail /var/spool/mail-
# ln -s /mnt/newdisk/mail /var/spool/mail
# ^D
... coming up in multiuser mode
Done.
/mnt/newdisk/mail should have been set accordingly during copy.
Cheers,
<tomas/>
Reply to: