Just wondering if there was a way to undelete a file.

I have never run into the situation so far (surprise, surprise) but I
sure will in future.

It is best to know.

I saw something like this.

$ grep -a -B[size before] -A[size after] 'text' /dev/[your_partition]

I want something from the old school, something more formal and using
the traditional UNIX method of doing it the right way.

Apparently lsof from linux world could help too.

I guess depending on the file system one could use a different
recovery command. What is the way to do it with FFS?

ncheck_ffs?

Thanks.

-Girish

Reply via email to