Skip to content
Advertisement

what is the meaning of the lost+found directory on linux [closed]

Most likely a rather obvious question but nevertheless I am doubtful about it. For development purpose our team got an linux VM tot work on. Once in a while I met a lost+found directory. Most of the time it is not accessible (permission denied). What is the meaning of this directory. Has it been implemented by Linux or has it been manually by one of the administrators?

I do agree with @Arcturus-B and I put some effort in it to get some extra informatie. I found info at https://unix.stackexchange.com/questions/18154/what-is-the-purpose-of-the-lostfound-folder-in-linux-and-unix and http://www.linuxnix.com/2012/12/lostfound-directory-linuxunix.html I guess I was a little bit cautious and did expect to find so much detailed information about this.

Advertisement

Answer

Files that are being open when an unexpected shutdown occurs may be damaged. On the following power up, the fsck tool is run to try to recover them. If any file is to be recovered, it is placed in the lost+found directory of the partition the original was stored in.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement