Earlier quoted context omitted.
Yea, run an old kernel with ext2 on a busy system writing a bunch of small files and have a power supply fail and you'll end up with something there. fsck on large hard drives was scary on how long it could take to finish.
The occassional "Drive has not been checked in days, forcing check" message on bootup got annoying sometimes, yeah. It could easily take tens of minutes to finish, exactly when I wanted to use the computer! (At least this is what my memory is telling me. I could be mistaken, but that's what I remember.)
What is the purpose of the lost+found folder in Linux and Unix? (2014)
81–90 of 95 posts
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#82Earlier quoted context omitted.
XFS as implemented in RHEL8+ (the only places i've used it in anger) tends to handle being full very badly, leading to system lockups and blocked tasks necessitating a hard reboot. Worse yet is when it's in this state the journal fills and nothing can be done with the volume. To recover from this on a volume mounted at boot mandates going to either a live disk, or stopping boot in initramfs and running xfs_repair the…
You are going to have a bad time when your / filesystem fills up, regardless of the filesystem type. This is one of the reasons for separate /usr, /var, /home, etc that many seem to have forgotten. Smaller blast radius when there is a problem. The reserved space in ext4 doesn't do you any good if root is the user that filled up the disk in the first place, which is far and away the most common thing I see.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#83Earlier quoted context omitted.
XFS as implemented in RHEL8+ (the only places i've used it in anger) tends to handle being full very badly, leading to system lockups and blocked tasks necessitating a hard reboot. Worse yet is when it's in this state the journal fills and nothing can be done with the volume. To recover from this on a volume mounted at boot mandates going to either a live disk, or stopping boot in initramfs and running xfs_repair the…
You are going to have a bad time when your / filesystem fills up, regardless of the filesystem type. This is one of the reasons for separate /usr, /var, /home, etc that many seem to have forgotten. Smaller blast radius when there is a problem. The reserved space in ext4 doesn't do you any good if root is the user that filled up the disk in the first place, which is far and away the most common thing I see.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#84(2012), maybe?
It is StackExchange. So in theory someone could modernize it at any time.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#85In a couple of decades running Linux installations of all flavours, I have never seen anything in lost+found!
I saw it often. Running fsck on a crashed/failed partition usually does put some files in there. Maybe I kept using old hardware too long...
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#86Earlier quoted context omitted.
You greatly overestimate the capabilities of computers of the era that this originated in. Major limitations of disk space, speed and addressability combined with limited CPU power and RAM mean that your hypothetical, “it could have been done” would require a significant investment in development and runtime resources all to avoid having a directory in root that would be empty until after a post-crash recovery. Also…
Sorry, but I just don't believe all this. We're talking about hiding a folder. Of course the developers could do that.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#87rmdir /lost+found is always my first step after creating and mounting a new file system. Reserving a user-visible directory just so that a 0.00001% chance recovery is slightly easier just doesn't make any sense.
Though it could be less, cause I also remember recovering files with foremost on a dd copy of a disk.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#88rmdir /lost+found is always my first step after creating and mounting a new file system. Reserving a user-visible directory just so that a 0.00001% chance recovery is slightly easier just doesn't make any sense.
I have recovered files several times after fsck on a failed partition. I may have a 75 percent success rate with this... did not keep statistics obviously. Though it could be less, cause I also remember recovering files with foremost on a dd copy of a disk.
Re: What is the purpose of the lost+found folder in Linux and Unix? (2014)
#89Earlier quoted context omitted.
You greatly overestimate the capabilities of computers of the era that this originated in. Major limitations of disk space, speed and addressability combined with limited CPU power and RAM mean that your hypothetical, “it could have been done” would require a significant investment in development and runtime resources all to avoid having a directory in root that would be empty until after a post-crash recovery. Also…
Sorry, but I just don't believe all this. We're talking about hiding a folder. Of course the developers could do that.