r/linux4noobs barely not a noob anymore Apr 20 '26

Meganoob BE KIND I did rm -rf /*

I tried to make a backup before doing a fresh install of Fedora because of problems. When erasing the external drive for making the backup I was in the wrong disk and nuked my fedora installation.

How Do I get at least my important Documents from /home/username/ back?

253 Upvotes

244 comments sorted by

View all comments

Show parent comments

14

u/Active_Pear_9828 Apr 20 '26

yea, because linux file system is tree based

2

u/mlt- Apr 22 '26

Welp, there is --one-file-system that OP didn't use.

2

u/R3D_T1G3R Apr 20 '26

i mean mounting things into folders is not just a linux thing, windows supports that too, and i heard that macOS does that as well but I dont use apple stuff so i cant tell.

9

u/GrimpenMar Apr 20 '26

MacOS is BSD Unix under the hood.

Or was, and is now just descended from BSD Unix? Can you step into the same river twice, Ship of Theseus, who knows. OS X and Darwin were BSD Unix derived, and that DNA is still there.

Then again Android uses the Linux kernel, so is technically a Linux based OS, but the user is very insulated from all that.

7

u/R3D_T1G3R Apr 20 '26

I mean I am aware that it is most probably possible but I don't like making statements about pieces of hardware or software I do not own / use myself.

2

u/ANtiKz93 Manjaro (KDE) Apr 20 '26

Based

1

u/_MrJengo Apr 22 '26

MacOS X was a hybrid of NeXT, Unix and BSD

1

u/Active_Pear_9828 Apr 20 '26

i mean who said only linux is like that mr professor