Or just cp -a

>>>>> "Sudhakar" == Sudhakar Chandra <[EMAIL PROTECTED]> writes:

    Sudhakar> [EMAIL PROTECTED] proclaimed:
    >> I had setup a mailserver few days back. later i realised that
    >> the var/spool partition wasnt adequate enough for all the
    >> mails. so i bought a new harddisk, renamed the /var/spool/mail
    >> , made a directory called mail in the new hardisk and copied
    >> all the stuff from the old mail directory to this new
    >> directory. next made a soft link in /var/spool called mail
    >> linking to my new harddisk.
    >> 
    >> it didnt work out. when i fire pine, it says mailbox empty.

    Sudhakar> <snip>

    Sudhakar> The permissions were not preserved when you copied over
    Sudhakar> /var/spool/mail.old to /newhardisk/mail

    Sudhakar> Use tar with the -p switch to preserve the permissions
    Sudhakar> like so:

    Sudhakar> cd /var/spool/mail.old tar cvf - . && cd
    Sudhakar> /newhardisk/mail/; tar xvf -


    Sudhakar> [WARNING!  I have'nt tried this.  Please try it out
    Sudhakar> elsewhere before you actually do it]
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to