Did install nfs-kernel-server and export a dir via 127.0.0.1, then mounted that as nfs4 mount and run the following code in that dir (touch can normally create files):
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h>
int main(void) { int fd;
fd = mknod("bla", S_IFREG, 0);
if(fd >= 0) close(fd); return 0; }
Did install nfs-kernel-server and export a dir via 127.0.0.1, then mounted that as nfs4 mount and run the following code in that dir (touch can normally create files):
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
int main(void)
{
int fd;
fd = mknod("bla", S_IFREG, 0);
if(fd >= 0)
close( fd);
return 0;
}