Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 10:16:53 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: regression: tmpfs in /etc/fstab results in boot stoppage
Message-ID:  <CAJuc1zMH%2B8_6Uno7P6OuD5vHTXK9%2BcwCi-tX=5B9%2Bf79A2=CCQ@mail.gmail.com>
In-Reply-To: <20180617211658.GU2493@kib.kiev.ua>
References:  <CAJuc1zMnS6CN0dv4cHAARXk112D9Ec3FWTfcGK2dH-4zDp0aEQ@mail.gmail.com> <20180617211658.GU2493@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 June 2018 at 09:16, Konstantin Belousov <kostikbel@gmail.com> wrote:
> 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.

Yup. That was the problem. That'll teach me to cut and paste.

Sorry for the noise.
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMH%2B8_6Uno7P6OuD5vHTXK9%2BcwCi-tX=5B9%2Bf79A2=CCQ>