From owner-freebsd-questions Fri Mar 22 10: 5:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id 8993437B404 for ; Fri, 22 Mar 2002 10:05:11 -0800 (PST) Received: from [195.20.224.204] (helo=mrvdom00.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16oTPQ-0000uH-00; Fri, 22 Mar 2002 19:05:00 +0100 Received: from [217.1.114.116] (helo=pD9017274.dip.t-dialin.net) by mrvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16oTPQ-0002H0-00; Fri, 22 Mar 2002 19:05:00 +0100 Date: Fri, 22 Mar 2002 19:05:48 +0000 (GMT) From: Peter Ulrich Kruppa To: mpd Cc: Martyn Hill , FreeBSD-questions Subject: Re: Is there anything wrong with softlinking /var to a pratition with more space In-Reply-To: <20020322123230.A19932@rochester.rr.com> Message-ID: <20020322185748.R221-100000@small.pukruppa.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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