Lost+found dir How to fix?

Lost+found dir How to fix?

Post by Matt » Sun, 31 Dec 1899 09:00:00


I had a hardware failure that killed my Linux box.  As a result I now have
files in my lost+found directory.  Question is:  How do I put these
files/dir's back where they belong?


1. Lost+found dir How to fix?

On Sat, 15 Apr 2000 00:11:48 GMT, Matt

Use "file" and/or "less" to figure out what the files were, and use "mv"
or "cp" to put them back... you DID have a fairly recent backup, didn't
you?  If there are more than 20 or so files in /lost+found, then restoring
from backup would be the easiest and fastest way.

Since files ending up in /lost+found are ref'ed by inode number, it might
be a good idea to do an "ls -iR > inode.txt" for each filesystem, and save
that file somewhere safe Just In Case.

Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

2. Tek Window Prob in Xterm

3. find without the "find: cannot read dir /usr/lost+found: Permission denied"

4. More on PC vs Ultra - New to this group.

5. lost+found dir./files question


7. how do I recover files in lost+found dir ?

8. It's a LinuxWorld, after all

9. Restore dir, files in lost+found ?

10. Sick dir ends up in lost+found -- file sys woes...

11. using lofiadm to mount Solaris8Companion CD results in 1 dir(lost+found)


13. find a dir under a dir