Hi all, I have been working on Improving NFS implementation on the Hurd. Olaf told me that rm -r does not work on some cases and trace the problem. As I have already discussed with him it is observed that an error occurs when we use a trailing / with directory name for removing a directory in a filesystem mounted with NFS, for example
rm -r somedir/ gives an error rm cannot remove directory 'somedir/': RPC struct is bad
but rm works fine when we use only 'somedir' without trailing /. But its natural that / is taken when we press tab to complete the directory name.
I am just going through the source files in nfs directory in Hurd source tree. There are two directories with names nfs and nfsd. Since this has something to do with client I felt there will some problem with source in this directory. Can anyone of you please help me tracing out where this problem might be happening. I request you to give some basic idea behind this or clues so that I can continue.