Re: strange NFS problems (ARM client, x86 server)
From: Tonnerre
Date: Wed Sep 29 2004 - 15:42:27 EST
Salut,
On Wed, Sep 29, 2004 at 10:23:07AM +0200, Lennert Buytenhek wrote:
> chdir("") = -1 ENOENT (No such file or directory)
Interestingly, rpm requested an empty chdir. This narrows down the
problem.
The following miniapp should be able to reproduce the problem:
cat << EOT > blah.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(void) {
if (chdir("")) {
perror("chdir");
exit(1);
}
exit(0);
}
EOT
Does it?
Tonnerre
Attachment:
signature.asc
Description: Digital signature