this post was submitted on 04 Dec 2025
3 points (58.8% liked)
Programmer Humor
1778 readers
29 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why not? A VM is a VM. You can remove root in there just fine?
didn't let me remove root. i ran the command with
sudoand it just kept saying "can't remove root". i'm using UTM on macOS tahoeif it just says that and doesn't do anything, there's some extra safety added, maybe in sudo or the shell.
otherwise, it can't remove "/", because it's a mount point in use. the point is that the recursive switch removes all subdirs, which are not mount points, leaving just empty disks an a handful dirs behind.
after i ran it, none of my commands worked. well of course they didn't work, everything but root got wiped, so goodbye /usr/bin and all that