Thanks Suresh,
I will try that.
Regards
Rajesh
Suresh Ramasubramanian saw fit to inform LI that:
>On 23/06/00 19:13 +0530, Rajesh Fowkar spewed into the LI bitstream:
>
>>Hi,
>>
>>If I install Red Hat 6.2 on hda10 and mount my hda7 partition on /mnt/SuSE.
>>Can I create a link Mail in my home directory on Red Hat 6.2 to point to my
>>home Mail directory on SuSE(/mnt/SuSE/home/rajesh/Mail) where all my mail resides.
>
>>
>>Can I Share my Mail directory like this so that even If I boot in Red Hat 6.2 I
>>will be able to use my same mailboxes from SuSE.
>
>
>Something like this (btw, first change to single-user mode by logging in
>as su. so nobody else uses the mail program at that time)
>
>#Copy the files from /var/spool/mail to /new1/mail
>#(new1 on a different partition)
>
>cp -rp /var/spool/mail /new1
>
>(-rp = recursively preserve permissions)
>
>Use chown on each file, making everything identical to the original
>directories.
>
> cp -rp /var/spool/mqueue /new1
> chown username filename
>
>Remove the original files
>
> cd /var/spool
> rm -rf mqueue
> rm -rf mail
>
>add symlinks to reflect the new locations
>
> ln -s /var/spool/mqueue /new1/mqueue
> ln -s /var/spool/mail /new1/mail
>
>reboot
>
> shutdown -r now
>
>hope this helps. Quite useful, especially in a production environment
>where you have _lots_ of users and extra disk space is always welcome -
>and also useful when you want to share your mail between two boxes or
>two distros on the same box I suppose :)
>
>Note: Use at your own risk ;)
>
--
Rajesh(ALIAS Shriram) Fowkar
--------------------------------------------------------------------------------
How I Configured my SiS6215 Card ?Visit:http://rajesh.computers.webjump.com/linux.html
Web Site : http://rajesh.computers.webjump.com/ Email :[EMAIL PROTECTED]
Address : KURTARKAR NAGARI, BLDG-C, FLAT NO. T4, THIRD FLOOR, SHANTINAGAR,
PONDA - GOA. PHONE : (0832)315932
"My interest is in the future because I am going to spend the rest of my
life there."
-Charles F. Kettering
---------------------------------------------------------------------------------
-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH