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

RE: moving /var to another partition??



On 01-Sep-99 kaynjay@igalaxy.net wrote:
> Hi,
> 
> I'm setting up to upgrade my system to potato (while I sleep :) and know
> that there's not enough room in /var/cache/apt/archives/.  I've got another
> partition to work with and could either symlink that dir to the new
> partition, or move /var over (it's on it's own part. now).
> 
> Question is... which is likely best?  Or should I go into mtab and mount the
> new partition at /var/cache/apt/archives/ (if that's possible)?
> 

*slap*

mtab is a run time created file by the working system, do not change it, do not
touch it.  Even if you do change it -- nothing happens.  Change /etc/fstab.

> And am I correst in thinking that a
>    cp -aR /var/* /newpartition 
> followed by mtab changes is correct for shifting partitions?  I seem to
> recall this as the MO for such stuff.
> 

Yes, move the data over than place a mount /dev/??? /var in fstab.


Reply to: