Isn't root file system mounted on / as read-only? otherwise how would one be supposed to reach the login shell?In single user mode nothing is mounted by default.
To change an active file system, it must be downgraded to read-only or unmounted.
As I was suggesting to Le Baronne, I'm pretty sure it's mounted as read-only, but you can grant write permission byI did try it in single user mode.
Does that automaticly unmount it?
mount -u - o rw / , which is quite useful to edit configuration files you messed up with, in case you did.
I just get unable to write superblock on p1 and p3, it succeeded on p2 and then messed up those partitions.
doas camcontrol identify /dev/ada0.
tunefs -t enable /dev/ada0p2 command it is importand you type
exit in the single-user shell, the system will boot into multiuser and the trim flag will be set back to it's original state as disabled.
Ah, I see now./ will be mounted read-only in single user mode.
tunefs -t enable /dev/ada0p2command it is importand you type
If you type
exitin the single-user shell, the system will boot into multiuser and the trim flag will be set back to it's original state as disabled.