[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: POP3 and old mail & Installing a new HD

Tomas Fasth wrote:

> # 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.

Thanks Thomas.  The answer to my original question came to me last
night.  The ownership of the root directory on the new partition
overrides the ownership of the directory you are mounting on.

Just proves I shouldn't work weekends ;-)


Reply to: