On Mon, 1 Aug 2016 13:44:55 +0200 (CEST)
Xen <l...@xenhideout.nl> wrote:

> > git wiped the file from disk. I worked very hard on that file
> > (several days( and I really hope this can be recovered. I could not
> > find a solution on the web.

> I hope the advice that was given to you would work.

Yes, it worked.

> In general if you want to be absolutely sure that a file is
> recoverable.
> You unplug the power cord ASAP.

I would advise against such an "take no hostages" approach: when you
unplug the power cord you might surely lose changes in other files
while trying to save the original one.

If one wants to quickly bring a Linux system down for forensic
activities on its filesystems, I'd recommend to do Alt-SysRq-s followed
Alt-SysRq-o, which would sync the filesystems and then halt the system.

Sure, it's possible that synchronizing FS buffers would re-use the
space once occupied by the deleted file but I'd call it a reasonable


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to