On Mon, 8 Jun 1998, Mike A. Lewis, CNE wrote:

> 
> I have a system which has the fs setup as follows:
> 
> Filesystem            Size  Used  Avail  Capacity Mounted on
> /dev/hda1              99M   72M    22M     77%   /
> /dev/hda7             4.2G  2.3M   4.0G      0%   /home
> /dev/hda6             478M  386M    68M     85%   /usr
> /dev/hda5             949M  139M   761M     15%   /usr/src
> 
> 
> As you can see, I have lots of free space on /dev/hda7, but very little
> on /.  Sendmail is giving me errors about not having enough space in
> /var/mqueue.  
> 
> How can I move /var/* to /dev/hda7 ?
> 

You could make a diectory /home/var/ 
cp -R /var/* /home/var/
ln -sf /home/var /var

this should do the trick (as long as there are no progs or files with
relative pathnames in var but try it out), even if its not very elegant
Clemens


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to