It is recommended to impose additional restrictions on uninstalling the pkdbase package using pkg. Otherwise, the same mistakes made on Linux will be repeated. Currently, running pkg delete pkg requires the -f flag, and I believe this should apply even more strictly to pkgbase packages. According to my testing, it is currently possible to uninstall the kernel using pkg without any obstacles, and after a reboot, the system is gone.
This issue is very common on Linux — inexperienced users often uninstall critical components like the kernel, glibc, or Python. This happens because Linux lacks a concept of a base system and has no mechanism to protect such essential software. FreeBSD, on the other hand, is different: it has a clearly defined base system.
This issue is very common on Linux — inexperienced users often uninstall critical components like the kernel, glibc, or Python. This happens because Linux lacks a concept of a base system and has no mechanism to protect such essential software. FreeBSD, on the other hand, is different: it has a clearly defined base system.