From owner-freebsd-questions@freebsd.org Sat Oct 10 07:58:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8D659D2F16 for ; Sat, 10 Oct 2015 07:58:32 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (oslo.ath.cx [144.76.166.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92281FFC for ; Sat, 10 Oct 2015 07:58:32 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (localhost [IPv6:::1]) by oslo.ath.cx (Postfix) with SMTP id 9B2841561 for ; Sat, 10 Oct 2015 09:58:30 +0200 (CEST) Date: Sat, 10 Oct 2015 09:58:30 +0200 From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: mount: tmpfs: Operation not supported by device Message-ID: <20151010075830.GB50755@oslo.ath.cx> References: <20151010075313.GA50755@oslo.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151010075313.GA50755@oslo.ath.cx> User-Agent: Mutt/1.5.24+21 (a07e8215a0ef) (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2015 07:58:32 -0000 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