Filesystem – Is It Safe to Delete a lost+found Folder?

deletedirectoryfilesystem

I have an empty seperate partition used for my vhd/virtualbox. mounted at /mount/win7.

I've deleted everything now and there's a lost+found folder left over. It takes up about 5gigs

Is it safe to remove a lost and found folder?

Best Answer

fsck will recreate the lost+found directory if it is missing.

On startup most distributions run fsck if the filesystem is detected as not being unmounted cleanly.

As fsck creates the lost+found directory if it is missing, it will create it then and place anything that it finds into that directory.

So you can remove it but not recommended (as per Marcelo comment).

Related Question