RE: 2.1.121 oddities

Mike (mike@oakley.keble.ox.ac.uk)
Tue, 15 Sep 1998 11:32:19 +0100 (GMT)


On Mon, 14 Sep 1998, Jeremy Fitzhardinge wrote:

> > 1) Should this be possible?
> > $ ls -al
> > total 6
> > drwxr-xr-x 3 mike mike 1024 Sep 13 20:23 .
> > drwx------ 24 mike mike 3072 Sep 13 20:20 ..
> > drwxrwxr-x 2 mike mike 1024 Sep 13 20:21 dir2
> > drwxrwxr-x 2 mike mike 1024 Sep 13 20:21 dir2
> > $
> > (this is on an ext2 filesystem)
> >
> > If, as I suspect, it shouldn't, I will try and replicate the problem (I
> > know _roughly_ what I did, but not very exactly...)
>
> Try "ls -lb" to see if there's any stray space or tab characters lurking after
> the visible names. e.g.:

Unfortunately, I had to reboot last night (my PSU is making bad sounds),
and on bootup fsck destroyed the directories.
However, they were created using the fs-test scripts somebody (Bill Hawes,
I think) posted here last week. I'm pretty sure that neither of them
have had any extra characters in. I'm running the scripts again to see if
I can get the directories to reappear, but so far I haven't be able to
replicate the problem.
What I have done is create a directory where ls hangs (in state D).

I'm fairly sure that the hardware is OK, so I suspect it could be some
weird race condition in the ext2 code?

--
Mike <rickettm@ox.compsoc.net>

Failure is more frequently from want of energy than want of capital.

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