Date: Fri, 22 Mar 2002 19:05:48 +0000 (GMT) From: Peter Ulrich Kruppa <root@pukruppa.de> To: mpd <mpd6334@cs.rit.edu> Cc: Martyn Hill <m.hill@st-james-snrgirls.w-london.sch.uk>, FreeBSD-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Is there anything wrong with softlinking /var to a pratition with more space Message-ID: <20020322185748.R221-100000@small.pukruppa.de> In-Reply-To: <20020322123230.A19932@rochester.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Mar 2002, mpd wrote: > On Fri, Mar 22, 2002 at 05:16:52PM +0000, Martyn Hill wrote: > > Dear all > > > > Our school FreeBSD box regularly fills its /var partition (my mistake - I only gave it 20MB at install...) > > > > As a short-term solution, I have created a softlink to a var/log directory made on another partition and removed the original > > /var/log directory (as log was the offending directory). > > > > Can I expect problems as a result of my somewhat dirty solution? Seems OK for now... > > FWIW, I've had /var symlinked to /usr/var for almost 4 years with > no problems. > You get a warning when doing an installworld (I think,) but > you can ignore it. I am no expert at these things, but just try to mount your extra partition to /var/log . If everything works well you can enter this into your /etc/fstab and everything will be in it's place at boot time. Mind that mounting a partition on some directory will not overwrite the directory's original content - it will just become invisible for the time the partition is mounted. So you cannot destroy anything. Regards, Uli. *-----------------------------------* * Peter Ulrich Kruppa * * - Wuppertal - * * Germany * *-----------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020322185748.R221-100000>