From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 22 11:11:08 2010 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43A89106570F for ; Mon, 22 Nov 2010 11:11:08 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id A599B8FC19 for ; Mon, 22 Nov 2010 11:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=6VA3iOQ0Fw+kFlRcsnb33D5lKJRb7+VZAFuv4jJwB5M=; b=X3hySbr FtPrSwjAOWPX93PNSKXXuc3hrc3Vd4snqZf0YesFrQHkpIifXKnYwJBJSOY92Di7 RbiWrFXnN+7ERRzlYpNp1iASrnKlciPgnpl+e+rxMtMH8VZ4IQM0g2KjDQYHdUoa hmgpIUyPe6H1XLD0dC8Ck7g2hmBk+638/VRs= Received: (qmail 23747 invoked from network); 22 Nov 2010 11:44:24 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@109.192.134.219) by mail.ud03.udmedia.de with ESMTPA; 22 Nov 2010 11:44:24 +0100 In-Reply-To: <0BE51D62-9E42-4E46-9284-DFBC074694D9@gmail.com> References: <0BE51D62-9E42-4E46-9284-DFBC074694D9@gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <71EF7CE9-09F6-4903-9D08-EAB7A12AB3F4@jump-ing.de> Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Mon, 22 Nov 2010 11:45:41 +0100 To: Micke X-Mailer: Apple Mail (2.753.1) Cc: freebsd-embedded@freebsd.org Subject: Re: Add extra logfiles to /var/log/ X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 11:11:10 -0000 Am 21.11.2010 um 22:52 schrieb Micke: > Does anyone know where to store the log-files so they vill appear > at the /var/log directory ? You want /var to be writeable. Either make the whole root disk writeable, or add a writeable entry into /etc/fstab. For the later, here's what I've done: Put this into /etc/fstab: tmpfs /var tmpfs rw,size=20971520 0 0 Additionally, put a link from tmp to var/tmp into the directory of files picked up by tinybsd and your needs for writeable directories should be satisfied. The link is broken in the source directory but will resolve fine when the tinybsd image is in use. Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/