I don't use any anti-virus software, but from what you say, I may conclude the
following:
When listing a directory with "ls", the function ncp_obtain_info() is called
once for each entry in that directory, plus one time for the directory itself
and (presumably) one time for the directory therunder (".." ?).
If you do this for a volume-root, you are trying to get the Original
Name-Space of a directory under the volume, which makes the Netware-3.12
server bark.
The error I am getting on the server goes like this:
"GetOriginalNameSpace could not find the originating name space. DOS name was
assumed. Use vrepair to fix this!"
If NULL paths are legal, then the problem lies elsewere (of course it does !).
If you could give me some pointers on where to look, I'll try to find out how
to make ncpfs not call ncp_obtain_info() for the directory under a volume.
Putting the check directly into ncp_obtain_info() doesn't seem a good place
to me....
BTW, I am also having another problem with listing the directory contents of
the directory where the Novell Server was mounted. I don't know if I will
have time to get to the ground of this though, since it looks like a problem
with the driver not handling i-nodes correctly with newer kernels. I get this
behaviour:
-------------- CUT HERE ---------------------
linux:/mnt/Novell # ls -l
ls: .: Stale NFS file handle
linux:/mnt/Novell # cd ..
linux:/mnt # ls -l Novell/
ls: Novell/.: Stale NFS file handle
total 3
drwxr-xr-x 7 root root 143 Feb 19 20:43 ..
drwxrwxr-x 1 david users 512 Dec 31 1985 cdroms
drwxrwxr-x 1 david users 512 Dec 31 1985 dataflex
drwxrwxr-x 1 david users 512 Dec 31 1985 engineer
drwxrwxr-x 1 david users 512 Dec 31 1985 programs
drwxrwxr-x 1 david users 512 Dec 31 1985 sys
drwxrwxr-x 1 david users 512 Dec 31 1985 sys1
linux:/mnt #
-------------- CUT HERE -----------------------
Thanks for the reaction...
-- David Jander- 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/