mount: tmpfs: Operation not supported by device

Herbert J. Skuhra herbert at oslo.ath.cx
Sat Oct 10 07:58:32 UTC 2015


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.

-- 
Herbert


More information about the freebsd-questions mailing list