Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 10:02:02 +0200
From:      "Herbert J. Skuhra" <herbert@oslo.ath.cx>
To:        freebsd-questions@freebsd.org
Subject:   Re: mount: tmpfs: Operation not supported by device
Message-ID:  <20151010080202.GC50755@oslo.ath.cx>
In-Reply-To: <20151010075830.GB50755@oslo.ath.cx>
References:  <CANoG8sUPHWXrEXC=Sk2beQi_rNeF04z8%2B2-YsZ1fDJQhg%2BU=kQ@mail.gmail.com> <20151010075313.GA50755@oslo.ath.cx> <20151010075830.GB50755@oslo.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 10, 2015 at 09:58:30AM +0200, Herbert J. Skuhra wrote:
> On Sat, Oct 10, 2015 at 09:53:13AM +0200, Herbert J. Skuhra wrote:
> > On Sat, Oct 10, 2015 at 02:14:25PM +0800, Romu wrote:
> > > Hi,
> > > 
> > > I can't mount tmpfs:
> > > 
> > > > sudo mount /tmp
> > > mount: tmpfs: Operation not supported by device
> > > 
> > > In my fstab:
> > > tmpfs   /tmp   tmpfs   rw      0       0
> > > 
> > > My kernel amd64 config:
> > 
> > There is no "options TMPFS" in your kernel config.
> > Does tmpfs.ko exist in /boot/kernel? Can you load it?
> > What's the output of:
> > 
> > # kldstat
> > # kldload tmpfs
> 
> I missed that you use "MODULES_OVERRIDE=", so you are not building any
> modules! In this case you have to add "options TMPFS" to your kernel
> config or add 'fs/tmpfs' to MODULES_OVERRIDE.

Sorry, tmpfs not fs/tmpfs.

-- 
Herbert



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