Solomon Boulos has uploaded this change for review.

View Change

Add MKNOD support.

Simplest test was to just do a FIFO:

$ mkfifo proxy-mount/my-fifo
$ ls -l proxy-mount/
total 7036
-rw-r--r-- 1 boulos boulos 3584000 Mar 5 23:11 bytes-again.txt
-rw-r--r-- 1 boulos boulos 3584000 Mar 4 17:59 bytes.txt
drwxr-xr-x 2 boulos boulos 4096 Mar 10 22:56 code
-rw-r--r-- 2 boulos boulos 16 Feb 15 00:15 hard-link.txt
-rw-r--r-- 2 boulos boulos 16 Feb 15 00:15 hello.txt
prw-r--r-- 1 boulos boulos 0 Mar 11 00:40 my-fifo
lrwxrwxrwx 1 boulos boulos 14 Mar 10 23:05 my-first-link.txt -> code/hello.txt
drwxr-xr-x 2 boulos boulos 4096 Mar 10 17:40 newdir
-rw-r--r-- 1 boulos boulos 8 Mar 4 23:39 new.txt
drwxr-xr-x 2 boulos boulos 4096 Mar 10 17:30 sub
drwxr-xr-x 2 boulos boulos 4096 Mar 7 00:29 subdir
-rw-r--r-- 1 boulos boulos 8 Feb 26 02:35 woohoo.txt
-rw-r--r-- 1 boulos boulos 11 Feb 15 00:15 yo.txt

$ echo "Who's on first?" > proxy-mount/my-fifo

and then in a separate terminal:

$ cat proxy-mount/my-fifo
Who's on first?

Change-Id: I1b9db7471a320c95370959278a8e3b5ec25dc9f0
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
1 file changed, 85 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/67/487467/1

To view, visit change 487467. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1b9db7471a320c95370959278a8e3b5ec25dc9f0
Gerrit-Change-Number: 487467
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange