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

Undelete deleted Linux files with lsof


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

Abstract Art in North Florida

admin headlines

Linux find command examples: finding files

Tutorial: Create Encrypted FTP backups with duplicity, duply on Debian 6

Configure Apache with Radius Two-Factor Authentication on Ubuntu 12.04

Using The Haraka Mail Server

PHP-FPM/Nginx Security in Shared Hosting Environments (Debian/Ubuntu)

KVM on CentOS 6.0 Server


Firefox sidebar

Site map

Site info

News feed


(to post)


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