Lost+found directory

rado84

Well-Known Member
Joined
Feb 25, 2019
Messages
687
Reaction score
561
Credits
4,106
What is the lost+found directory on an ext4 used for? Is it used at all and if it's not, is it OK if I delete it? Yesterday I migrated almost all of my partitions to ext4 and noticed that all ext4's have this empty directory.
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,364
Reaction score
4,835
Credits
46,778

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,987
Reaction score
1,853
Credits
14,374
This page may also help your understanding. I would not delete those directories. They take up very little space and may be vital in recovery of important files at some point.
 

TheBearAK

New Member
Joined
Nov 17, 2021
Messages
10
Reaction score
5
Credits
100
My experience is that you delete them they just come right back. Debian and ext4.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,128
Reaction score
8,090
Credits
39,068
Can't stop long now as about to head off for my evening meal DownUnder.

You can in fact delete them, once you have established that either there is nothing in them, or nothing of value.

Code:
sudo rm -rf lost+found

Cheers

Wiz
 

Members online


Top