lkml.org 
[lkml]   [2001]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
> I just found a pair of '..' directories in the /lib directory. e2fsck 1.19
> didn't even pick up on this!
> /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

eax /tmp % touch ".. "
eax /tmp % ls -la | grep "\.\."
drwxr-xr-x 23 root root 1024 Sep 16 2000 ..
-rw-rw-r-- 1 adam adam 0 Jul 16 01:09 ..

so use 'od' to see what the filename is composed of:

eax /tmp % ls -la | grep "\.\." | od -a
. . sp nl

--
Adam
http://www.eax.com The Supreme Headquarters of the 32 bit registers


-
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/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.215 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site