in reply to Restoring deleted files under Linux

Another trick to minimize the chance of overwriting the target blocks:

$ mount /path/to/mountpoint -o remount,ro

This makes that filesystem read only. You must either be root, or have mount privilege for that mountpoint (set up in /etc/fstab). This is difficult for a common development server, but doable for a workstation.

After Compline,
Zaxo