Go on, ask me how I know ...
I've not had much cause to use it since then though.
Go on, ask me how I know ...
I've not had much cause to use it since then though.
How do you know?
That was not a good day, about a week before submission was due. I unmounted the disk the second I realised what I'd done and started to look for guides on finding lost ext2 inodes. MC to the rescue!
If you were quick and unmounted as soon as you had realised what you’d done, and the space had not been re-used for anything, you could often get the file back because rm just unlinked the inodes on ext2 IIRC.
I imagine that the commands it used under the hood were accessible to anyone with the right know-how, but at the time that’s not something I had, and all the guides started with “use midnight commander” so I did :)
(Saying “only way” to recover might be a stretch, it’s true)