I've been playing with the bug reported at the bottom of
~elks/BUGS. I think I have observed a pattern:

    If a file with filename length equal to 14 characters
    is used as the source file for one of 'cp', 'mv', or 'ln',
    thereafter the filename is not recognized by them and 'ls'.

For instance, if I

> cp aaaaaaaaaaaaaa foo

no error occurs and 'ls' produces the expected result.
However, if I next

> cp aaaaaaaaaaaaaa bar

an error "aaaaaaaaaaaaaa: No such file or directory" is emitted
and 'ls' also complains. Furthermore, if I

> ln foo aaaaaaaaaaaaaa

the listing will show two "aaaaaaaaaaaaaa"s!!! Then the fresh
"aaaaaaaaaaaaaa" will be recognized for the following 'cp', 'mv',
or 'ln', but is tarnished by that operation again.. I have
reason to believe the "No such file or directory" is returned by
namei() which is called in sys_stat() in ~elks/fs/stat.c, but
that's as far as I've gotten..
I'm new at this, so my bug squashing is proceeding very slowly..
If nobody is interested, no problem, I'll eventually figure it
out anyway so don't waste your time. I just thought you guys know
alot more and might know instantly what is the problem. I apologize
if it's a known or unworthy problem.

I have notes for the experiments I tried if anyone wants
them. There are alot, and many are garbled by printk() output.

--Scott

Reply via email to