Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 08:08:17 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: installation of 12.1R and 11.3R fails
Message-ID:  <b167d389-6e9c-b4d0-41ef-1a98fb51459d@fechner.net>
In-Reply-To: <CAHu1Y72BR=G2hxBRM8WbwprON5wRcK=uUtXBcvpFMs8k1jKSNw@mail.gmail.com>
References:  <CAEC7393CTQGQ=zQ7fM63iSkpdvO8R0q-q6iLWUOx4=XaYanO1A@mail.gmail.com> <d760435a-af0d-8a84-b350-43311c8e321e@holgerdanske.com> <CAEC73938_0co-Sk3JzZz10gP%2BVg6%2Bk1jWj87KJbU3_XkLU2Spg@mail.gmail.com> <f4a4889a-1e7f-b951-3d67-35994cbcf2a6@holgerdanske.com> <CAEC7390f3b6iwwjV9Zpv5hsRbv=t81_WnFDbePwDG4V66A1z0w@mail.gmail.com> <CAEC7391PVoPo%2BgSD6a3zWYF4bGfyxpri-gRrQNGsASQMK8ZPDA@mail.gmail.com> <20200525110946.dd7440ac.freebsd@edvax.de> <CAEC7391n9L85sPH-%2BKVgE6quFGM_bpUQS_Y7GvUgU1s2X0CR0Q@mail.gmail.com> <CAHu1Y72BR=G2hxBRM8WbwprON5wRcK=uUtXBcvpFMs8k1jKSNw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.05.2020 um 01:29 schrieb Michael Sierchio:
> cat <<EOFF > /mnt/etc/rc.conf
> fsck_y_enable="YES"
> background_fsck="YES"
> background_fsck_delay="60"

thanks a lot for this script, very interesting!

Here you could also use:
sysrc -f /mnt/etc/rc.conf fsck_y_enable="YES"

Has the advantage to not wipe the existing file, but only add/modify the
keys you would like to touch.
This is maybe more future proof.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b167d389-6e9c-b4d0-41ef-1a98fb51459d>