this post was submitted on 04 Dec 2025
6 points (65.0% liked)

Programmer Humor

1778 readers
63 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] alias_qr_rainmaker@lemmy.world 9 points 21 hours ago (7 children)

warning: do not attempt if linux is your actual OS, this shit is for virtual macbros ONLY

[–] RustyNova@lemmy.world 3 points 21 hours ago (6 children)

Why not? A VM is a VM. You can remove root in there just fine?

[–] alias_qr_rainmaker@lemmy.world 2 points 21 hours ago (2 children)

didn't let me remove root. i ran the command with sudo and it just kept saying "can't remove root". i'm using UTM on macOS tahoe

[–] lurch@sh.itjust.works 2 points 20 hours ago (1 children)

you can maybe use strace to find where this text is coming from, btw.

[–] alias_qr_rainmaker@lemmy.world 3 points 19 hours ago

i've been a macbro for 8 years but i just got into linux, what....two days ago? so i don't know any of the lingo. but i just googled strace,looks like it's good for debugging shit. neat! i try to do as much as i can from the terminal as possible

[–] lurch@sh.itjust.works 2 points 20 hours ago (1 children)

if 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.

[–] alias_qr_rainmaker@lemmy.world 3 points 19 hours ago (1 children)

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

[–] caseyweederman@lemmy.ca 1 points 6 hours ago

I did that on purpose once to test Timeshift's restore. I had to boot to a live image to run the restoration, but it worked great! Very impressed.
Only applies if the Timeshift directory is not in the removed path.

load more comments (3 replies)
load more comments (3 replies)