urgent: I just rm-r a directory

Vesselin Peev vesselinpeev at hotmail.com
Mon Aug 7 13:01:38 UTC 2006


Hello,

Note that the files contents itself are still on the disk if they haven't 
been overwritten by later disk operations. If you do not have a backup and 
you know what you are looking for, you can use commands such as "grep" or 
"strings" over the disk partition. You can find explanatory pages on the 
Internet about that, such as 
http://bluesmoon.blogspot.com/2004/08/undelete-in-freebsd.html.
(And if you don't want to take any chances, there are companies specialising 
in data recovery.)

Regards,
Vesselin.

>From: Ian Lord <mailing-lists at msdi.ca>
>To: freebsd-questions at freebsd.org
>Subject: Re: urgent: I just rm-r a directory
>Date: Mon, 07 Aug 2006 08:44:48 -0400
>
>Thanks to all how had replyed to me :)
>
>I'm from a dos/windows world so I was hoping for an "undelete utility" On 
>fat partitions data is not deleted, it's just flag as deleted,  so I though 
>it was the same for freebsd.
>
>Seems like I'll have to call the company that store our tapes offsite to 
>recover :)
>
>Thanks to all
>
>At 20:34 2006-08-06, jan gestre wrote:
>>On 8/7/06, Ian Lord <mailing-lists at msdi.ca> wrote:
>>>
>>>I did a rm-r by mistake on a directory... any way to recover ?
>>>
>>>Help please :(
>>>
>>>_
>>
>>if you don't have back ups of the directory concerned, i'm sorry to inform
>>you that you won't be able to recover it. a word of advise, at least make
>>the rm with -i switch to make it interactive, that way it will ask you 
>>first
>>before deleting, good thing though it's not your "/" you deleted :D
>>_______________________________________________
>>freebsd-questions at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to 
>>"freebsd-questions-unsubscribe at freebsd.org"
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list