Undeleting (possible?)
Craig Boston
cb at severious.net
Mon Nov 26 12:06:19 PST 2007
On Tue, Nov 13, 2007 at 10:54:38PM +0100, Kris Kennaway wrote:
> Undeletion in UFS is only possible for wizards. Otherwise, your only
> feasible option is to restore from backup.
There's one other option that unfortunately won't help Fernando, but I
actually used it (successfully!) once and am reproducing for
entertainment value:
Once I accidentally issued an rm -rf command on the wrong directory, and
realized to my horror that I had wiped out the files I just spent
several hours creating (so there were no backups yet).
Since only a few seconds had passed, the thought flashed into my mind
that softupdates probably hadn't flushed the metadata changes to the
disk yet. So in a moment of panic, I reached over and pulled the power
cord out from the back of the machine. ;-)
More information about the freebsd-fs
mailing list