Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2007 19:06:59 +1000
From:      "David N" <davidn04@gmail.com>
To:        "Jorn Argelo" <jorn@wcborstel.com>
Cc:        questions@freebsd.org
Subject:   Re: ramdisk on /tmp in jail
Message-ID:  <4d7dd86f0708020206j42fc0318pa55bf4ddd1377c04@mail.gmail.com>
In-Reply-To: <4d7dd86f0708020204o6415e168h4dee09b971597ade@mail.gmail.com>
References:  <e05c881902e5659189fc36bb13a0a914@mail.wcborstel.com> <4d7dd86f0708020204o6415e168h4dee09b971597ade@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/07, David N <davidn04@gmail.com> wrote:
> On 02/08/07, Jorn Argelo <jorn@wcborstel.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0708020206j42fc0318pa55bf4ddd1377c04>