Re: Duplicate '..' in /lib

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 16 Jul 2001 01:16:40 -0400 (EDT)


Adam writes:

>> /lib
>> 4 drwxr-xr-x 19 root root 4096 Jun 9 16:06 ..
>> 4 -rw-rw-r-- 1 root root 27 Jun 9 15:55 ..
>>
>> How can I get rid of this? I'm on kernel 2.2.19, running on sparc-linux.
>
> first it is not a pair directories, but a directory and a file.
>
> second, are you sure both of the mare just ".." for example

I don't think so! Look at the "4" on the left. If that is the
inode number from "ls -lia /lib", his disk is seriously messed up.
The inode number for "/lib/.." should be 2, and an inode may not
be shared between a file and a directory.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/