From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 09:33:29 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DAC16A41B for ; Thu, 2 Aug 2007 09:33:28 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5626213C4DD for ; Thu, 2 Aug 2007 09:33:25 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so342157wxd for ; Thu, 02 Aug 2007 02:33:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aRmd33iyXj87w+phW58jLL9cOkSIcJsUoypOICKYwqKfRnJoabcmno0q0WSzC1egRvHaJEvkdOZceVxlYyLcFdrCnOX3FDRB4MlOsYWq55RE5+mhzkMT7RxDskfYl/kjF+uZlJMhawYYJ1/JakUxSZQS7xdBPWi8t+yAO2uWgow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GjBH1iVQKbcYQ8IUSGWWK1wR6s9Ue3wvGueGQmiPqyV1tlDJrA0l5zfzUB+x78h7EYl9N6rWZzY1VKXjrjuFxKIiLdL7Mu4lYrBDVlgujhj1T2jNodTk7Qb6CEZTG9zhtMuPk13/BPcleICd0+OblN7CgqhC3IYlkTHoCFMZi5I= Received: by 10.90.69.8 with SMTP id r8mr1498611aga.1186045491094; Thu, 02 Aug 2007 02:04:51 -0700 (PDT) Received: by 10.90.120.17 with HTTP; Thu, 2 Aug 2007 02:04:51 -0700 (PDT) Message-ID: <4d7dd86f0708020204o6415e168h4dee09b971597ade@mail.gmail.com> Date: Thu, 2 Aug 2007 19:04:51 +1000 From: "David N" To: "Jorn Argelo" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: questions@freebsd.org Subject: Re: ramdisk on /tmp in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 09:33:29 -0000 On 02/08/07, Jorn Argelo wrote: > Hi all, > > I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using the mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk on /tmp during boot time. > > I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the jail, but if I do that nothing appears to happen. Doing the same on the host of the server works fine though. > > What would be the recommended way of achieving this? Should I use the fstab on the host, or maybe in the jail? Maybe somebody else has a better suggestion? > > Thanks a lot in advance. > > Cheers, > > Jorn > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Jails have an option for fstab jail_myjail_fstab="/usr/jails/myjail/etc/fstab" i think that should work Cheers David N