Solved Run fsck on boot

Hi,

i run FreeBSD 13.0-RELEASE on a Raspberry Pi 400 and i want to fsck(8) the filesystem.
I know that you usually boot into single user mode and run fsck(8) from there.

Problem is that i cannot boot into single user mode because the system hangs if i try to do so.

In Linux, you can force a fsck on boot by creating a file /forcefsck and the system will automatically check the filesystem on the next boot.

Is there an equivalent in FreeBSD?

Thanks
 
Answering my own question.
I found
 
Back
Top