Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 00:16:58 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: regression: tmpfs in /etc/fstab results in boot stoppage
Message-ID:  <20180617211658.GU2493@kib.kiev.ua>
In-Reply-To: <CAJuc1zMnS6CN0dv4cHAARXk112D9Ec3FWTfcGK2dH-4zDp0aEQ@mail.gmail.com>
References:  <CAJuc1zMnS6CN0dv4cHAARXk112D9Ec3FWTfcGK2dH-4zDp0aEQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 18, 2018 at 08:46:35AM +1200, Jonathan Chen wrote:
> Hi,
> 
> I've updated to r335297 on STABLE-11. My root fs is ZFS, and /etc/fstab is:
> 
> # Device                Mountpoint      FStype  Options         Dump    Pass#
> /dev/gpt/irontree-swap  none            swap    sw              0       0
> tmpfs                   /home/jonc/.cache tmpfs rw,size=512m,late       0 2
> 
> My /etc/rc.conf also contains:
> background_fsck="NO"
> 
> When I reboot the system, the kernel boots; but the startup scripts fail with:
> 
> fsck: exec fsck_tmpfs for tmpfs in /sbin/:/usr/sbin: No such file or directory
> THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
>   tmpfs: tmpfs (/home/jonc/.cache)
> 
> The system continues booting up as usual once I exit single-user mode.
> The system used to boot up with any intervention prior to this.

You specified fsck pass for tmpfs mount, which makes no sense and cannot
work since there is no fsck_tmpfs.  Fix you fstab.



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