Re: /var still counts /var/cache
On Tue, 2003-01-28 at 10:23, jaycee.spamtrap@jaycee.uklinux.net wrote:
> On Mon, Jan 27, 2003 at 03:54:57PM -0500, Emma Jane Hogbin wrote:
> > I made a new partition for /var/cache since that's where all my data is.
> > Unfortunately /var is still counting the contents of /var/cache and thinks
> > that /var is full. I'm not sure how to tell /var that it doesn't hold
> > /var/cache anymore.
> [snip]
>
> Emma -
>
> Did you delete the contents of /var before mounting the new
> /var/cache directory on top of it?
You don't want to delete all of /var if you're only moving /var/cache
...
>
> I'm _not_ suggesting you just do
>
> # umount /var/cache
> # rm /var/cache
Not quite - rm won't remove a directory, and you don't want to anyway.
"rm /var/cache/*" might be more useful.
> # mount /var/cache
>
> but that would solve it.
> Make sure you know what each of these steps does before trying it!
Good plan :-)
Richard
Reply to: