Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!noao!ncar!gatech!purdue!mentor.cc.purdue.edu!sage.cc.purdue.edu!asg From: asg@sage.cc.purdue.edu (Bruce Varney) Newsgroups: comp.unix.questions Subject: Re: undelete ? Message-ID: <10212@mentor.cc.purdue.edu> Date: 12 Apr 91 14:13:25 GMT References: <26542@adm.brl.mil> Sender: news@mentor.cc.purdue.edu Reply-To: asg@sage.cc.purdue.edu (Bruce Varney) Organization: Purdue University Lines: 45 In article <26542@adm.brl.mil> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes: }In his message, msc%SUN2.NCKU.EDU.TW@VM.TCS.Tulane.EDU said : }> }> Dear Netters : }> Is there any tool which can be used to undelete UNIX files ? }> } }####### } # #### #### # ## ##### ###### } # # # # # # # # # # } # # # # # # # # # ##### } # # # # # # ###### # # ### ### } # # # # # # # # # # ### ### } # #### #### ###### # # # ###### ### ### } } I'm afraid there's not such a tools... Sorry for you :( } Paul Actually, it depends on your system. At purdue we have something called an entombing library. It is a set of systemcall-look-alikes (creat, unlink, etc.) which first call and entombing daemon, and then call the real system call. by linking programs to this library (such as rm) when you compile them you enable entombing. When files are destroyed by rm, mv or cp, they are acually moved to a directory called $HOME/../tomb/$NAME (i.e. My $HOME is /userb/asg so my entombed files would be put it /userb/tomb/asg .) There they are kept for 24 hours (unless the disk is near full at which point the time decreases, and except for a.out and .o files which last only 15 minutes). So if I accidently rm a file, I can use the program unrm which war created to unremove files. If you would like a more techinichal explaination of the system, let me know and I will see what I can find out. And there are always tape backups if your sysadm makes them, and the file existed at the time of the last backup. Good luck, I hope your file(s) is(are) on tape. As Always The Grand Master. --------- ### ## Courtesy of Bruce Varney ### # aka -> The Grand Master # asg@sage.cc.purdue.edu ### ##### # PUCC ### # ;-) # # ;'> # ##