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:8452 | -Ray, November 17, 2006
More Sysadmin articles...

Abstract Art in North Florida

admin headlines

Virtual Users and Domains with Postfix, Courier, MySQL, SquirrelMail (Fedora 18)

Secure Apache2 with LinOTP

Authenticate OpenVPN with LinOTP

Tutorial: PHP5-FPM with Apache2 on OpenSUSE 12.2

Tutorial: Debian / Ubuntu Linux Setup Wireless Access Point

Create MySQL-based Virtual Hosts on Lighttpd (Debian 6)

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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