DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th November 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Question File Restore

Hi,

I am wondering if anyone has any info for restoring deleted files?

Is there such a thing like a "recycle bin" where I could "undelete" a file under OpenBSD?

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 20th November 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

No.

This is a FAQ, on misc@.
Reply With Quote
  #3   (View Single Post)  
Old 21st November 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

When you delete a file, you remove its inode.. an inode is a special piece of "metadata" that every file/directory must have.

It is essentially the glue that holds the file together, physically a file is split up into blocks or chunks and can be anywhere on the filesystem.. without the inode you'll have no idea where the actual data is, and finding it is improbable.

As jggimi said, this is often asked on the mailing lists.. and the answer is always the same.. make backups, and be careful what you delete.

Last edited by BSDfan666; 21st November 2009 at 01:51 AM.
Reply With Quote
  #4   (View Single Post)  
Old 24th November 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Default

Rats! Well thank you both for your help/input. I figured I would check anyhow.

Would there be such a thing like "shadow copies" in Windows?
Reply With Quote
  #5   (View Single Post)  
Old 24th November 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

No. To aid your basic research (in the hopes you will eventually do some):

The Fast File System we use is described in /usr/share/doc/smm/05.fastfs (See /usr/share/doc/README)

The Enhanced Fast File System (FFS2), introduced in 4.3-release, supports filesystems larger than 2TB.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD backup/restore graudeejs Guides 2 26th February 2010 06:40 AM
PHP read file contents - Maximum file size cksraj Programming 1 21st September 2009 11:38 AM
Restore OBSD Over SSH revzalot OpenBSD Installation and Upgrading 16 2nd September 2009 06:45 PM
Permission problems after restore Crotalus FreeBSD Installation and Upgrading 3 5th February 2009 02:17 PM
dat 72 one touch restore firstkmh FreeBSD General 0 29th August 2008 03:46 PM


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick