Hello!

> "Thomas Schweikle" <[EMAIL PROTECTED]> writes:
>> on one  system I have found lots of duplicate libs in /usr/lib:
>>
>> -rw-r--r--    1 root     root      1303154 May 25 02:48 
cracklib_dict.pwd
>> -rw-r--r--    1 root     root      1303154 May 25 02:48 
cracklib_dict.pwd

[...]

>> there are 307 duplicates found within "/usr/lib" (using
>> "ls /usr/lib ! uniq -d ! wc -l").
>>
>> Any idea where these come from?
>
> file system corruption?  what does 'ls -i' tell you about the
> identical files?

"ls -i" told they where using the same inodes, but had different directory 
entries. I forced a file system check: "fsck -f". These duplicates got 
mostly renamed to "*.~0". Some where copied to "lost+found". I did not 
loose any file. After removing the renamed ones and cleaning up 
"lost+found" the directory was fine again!

My first try was to remove these files by "rm -i" but this removed 
magically both directory entries.

Doing an "fsck -f" before was the right way!

Thanks!

-- 
Thomas



--
[EMAIL PROTECTED] mailing list

Reply via email to