Tag Info

Hot answers tagged

125

If you run fsck, the filesystem check and repair command, it might find data fragments that are not referenced anywhere in the filesystem. In particular, fsck might find data that looks like a complete file but doesn't have a name on the system — an inode with no corresponding file name. This data is still using up space, but it isn't accessible by any ...


16

The lost+found directory (not Lost+Found) is a construct used by fsck when there is damage to the filesystem (not to the hardware device, but to the fs). Files that would normally be lost because of directory corruption would be linked in that filesystem's lost+found directory by inode number. Some of these might be lost directories or lost files or even ...


2

From http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html: As was explained earlier during the overview of the FSSTND, Linux should always go through a proper shutdown. Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check using fsck will be ...


1

Each appliance has its own compilation of BusyBox with different sets of features, so I can't be sure what yours supports. If I understand correctly, you have directories like /lost+found/#123456, and every file in that directory belongs to the same user. Here's an untested script that dispatches these directories into the user's home. I assume that your ...



Only top voted, non community-wiki answers of a minimum length are eligible