From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 09:32:26 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 00A2116A418 for ; Thu, 2 Aug 2007 09:32:26 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED9C13C49D for ; Thu, 2 Aug 2007 09:32:25 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wr-out-0506.google.com with SMTP id 67so170902wri for ; Thu, 02 Aug 2007 02:32: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=OUKV82U+Yhv9xljEL//QWaAn66+ORizoSZAREBIGV314Rd/FMdjUq+vuK3GGF0pPnn2lWKbJg+AXXdPbf4jxVOOuhj2IP7/YSaERYubmgdRdqOI5ONK15MD5wioFJby0ccCyeFHH98J9r7vsBFMPMviL7ogH3krc1phLzN5Du0w= 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=gH89bSEUVHiwuUO+sKYUUsAaxcWtnblykBXYK07wvLoJ835hkQfx1PwvIDc47vdFwe9wmfG0PNrKqrFLJ4D4Tb/SxmZIPP2HBaR9KzvHXHhgOEOIoKhSrV5D68WLjGI3smg6C0m4dNhbzsbPkz8W1iyVlfqUgG/2j+5zuN/Am9E= Received: by 10.90.71.3 with SMTP id t3mr1519479aga.1186045619881; Thu, 02 Aug 2007 02:06:59 -0700 (PDT) Received: by 10.90.120.17 with HTTP; Thu, 2 Aug 2007 02:06:59 -0700 (PDT) Message-ID: <4d7dd86f0708020206j42fc0318pa55bf4ddd1377c04@mail.gmail.com> Date: Thu, 2 Aug 2007 19:06:59 +1000 From: "David N" To: "Jorn Argelo" In-Reply-To: <4d7dd86f0708020204o6415e168h4dee09b971597ade@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4d7dd86f0708020204o6415e168h4dee09b971597ade@mail.gmail.com> 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:32:26 -0000 On 02/08/07, David N wrote: > 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 > I fogot to mention jail_myjail_mount_enable="YES"