Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I reformatted a hard drive to ext4, planning to use it as a backup drive. After mounting the freshly-formatted drive, I discovered a single empty directory inside it: lost+found. What's the purpose of this mysterious directory?

share|improve this question

1 Answer 1

up vote 20 down vote accepted

lost+found is the directory in which fsck (filesystem check) will put files it restores from orphaned blocks. This can happen when something corrupts filesystem meta-blocks (also called i-nodes) in which the references of the blocks are stored which contain the data of a file.

Look also at http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html http://ubuntuforums.org/archive/index.php/t-229143.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.