The lost+found directory at the root of a filesystem is a preallocated directory for data that is present on the filesystem, but not attached to any file. This can only happen if the filesystem is damaged due to a system crash or malfunctioning media. When , the filesystem repair command, finds chunks of data that do not seem to belong to any file, it attaches this data to the /lost+found directory.

Further reading

history | show excerpt | excerpt history