What is the purpose of the lost+found folder in Linux and Unix? (2014)
unix.stackexchange.com
What is the purpose of the lost+found folder in Linux and Unix? (2014)
1–10 of 95 posts
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#2I had a lost+found folder in all Unix file systems I used since the 80s. It's where fsck places files that it found during a scan and can't figure out to which directory they belong. Sometimes I found stuff in there.
From what I googled XFS, Btrfs and ZFS don't use lost+found. It's a thing of the old not journaled filesystems and of the ext family.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#3In a couple of decades running Linux installations of all flavours, I have never seen anything in lost+found!
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#4lost+found is the Thumbs.db and .DS_Store of Linux
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#5In a couple of decades running Linux installations of all flavours, I have never seen anything in lost+found!
You need to use worse hardware and bad power :)
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#6lost+found is the Thumbs.db and .DS_Store of Linux
Not really, as it's only once per file system mount, whereas those Windows and MacOS files are sprinkled in most directories with images and almost every non-network drive directory respectively.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#7In a couple of decades running Linux installations of all flavours, I have never seen anything in lost+found!
Have to run fsck. This used to be forced about once a month but don’t remember it happening in the last decade or so.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#8In a couple of decades running Linux installations of all flavours, I have never seen anything in lost+found!
That's what the answers are missing, of course. In some filesystem formats, it's possible either to recover completely from a journal/intent log, or at least to recover everything to the point that recovered files can be placed into the correct directory.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#9(2012), maybe?
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#10(2012), maybe?
It is StackExchange. So in theory someone could modernize it at any time.