![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lost+found | morrish | Shell Programming and Scripting | 1 | 05-14-2008 08:01 PM |
| lost+found | morrish | UNIX for Advanced & Expert Users | 3 | 04-23-2008 02:00 PM |
| Lost+Found is not available | vinod2all | AIX | 4 | 07-04-2005 05:50 AM |
| what is lost+found dir? | bok | UNIX for Advanced & Expert Users | 1 | 06-01-2005 12:09 PM |
| lost+found | Prafulla | UNIX for Advanced & Expert Users | 4 | 03-31-2002 09:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
||||
|
On Suns the size field of a directory is a multiple of 512 bytes. And the minimum number of links on a directory is 2. These directories fufill these requirements and I think that they are really directories. But, on unix, directories are files and you can read them if you have read permission. One program that reads directories is called "ls". But you can use other programs too. I suggest "od -c".
Have you looked inside these directories to see if your files are there? When fsck finds a problem, I always rerun it to see if I get a clean result. Every now and then, a second fsck run finds additional errors. You might try that. Also see this thread: Retrieval of deleted files. |
|
|||
|
Files in the lost+found folders are usually files that has no inode for some valid reasons
Thanks! |
|
||||
|
inquirer, there is no such thing as a file without an inode. Files (which have inodes) that are not listed in any directory are what gets reattached to lost+found and the name used is the inode number with a # in front of it.
DPAI, to most shells a # starts a comment. Try "ls \#0007680" or "ls ?0007680" or "ls *0007680". Last edited by Perderabo; 02-18-2002 at 10:06 AM. |
|
|||
|
It isn't going back to the home directory - some of the files that were lost WERE home directories. Just cd down to discover which ones were lost (do pwd to double check were you are).
When you ran fsck was it with the -y option? If not, did you answer yes to all the questions? Do you have a good backup? I don't know of a faster way to get the directories and files back then that unless you cd down to each home directory and move it back where it belongs. First you want to double check your hardware to insure you are not going to put them back on a bad disk. |