> Currently, it's possible, (as root), to do something like: > > # mount_mfs -s 1g swap / > > which succeeds, and mounts the empty filesystem as the root filesystem. > > This makes the machine inoperable and requires a physical reset, without a > clean shutdown, as no system binaries are available. > > Shouldn't we make mount_mfs error out in this case?
what is "this case"? The root issue is that you are root, and root is allpowerful. You need to be careful, because all the tools are strong. There are a million ways to completely screw your machine. You found one. Tomorrow you could find another, but it won't take long before you learn to be careful...

