Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Undelete deleted Linux files with lsof

Up
vote
Down

Make sure you recover the deleted file before some process recycles the 'unused' space...
Briefly, a file as it appears somewhere on a Linux filesystem is actually just a link to an inode, which contains all of the file's properties, such as permissions and ownership, as well as the addresses of the data blocks where the file's content is stored on disk. When you rm a file, you're removing the link that points to its inode, but not the inode itself; other processes (such as your audio player) might still have it open. It's only after they're through and all links are removed that an inode and the data blocks it pointed to are made available for writing.
 read more | mail this link | score:7315 | -Ray, November 17, 2006
More Sysadmin articles...

Abstract Art Prints for Sale

admin headlines

Tutorial: Squid Siblings on CentOS 6.3 with WCCP

Tutorial: Serve CGI Scripts with Nginx on Fedora 18

Mass Enrolling of Yubikey with LinOTP

Tutorial: Install Nginx, PHP5 and MySQL on Fedora 18

Tutorial: Ubuntu Jeos 12.04 LTS Spam Filter Gateway Server

Tutorial: Install Apache2, PHP5, MySQL on OpenSUSE 12.2

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin