search for: nbuff

Displaying 1 result from an estimated 1 matches for "nbuff".

Did you mean: buff
2007 Dec 21
1
Odd behavior of NFS of ZFS versus UFS
...h virtually the save results. The $1000 Question: Why would this happen? The Code: #include <sys/types.h> #include <time.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> void main () { char nbuff[32]; char data [8192]; int fd; time_t start,finish; char date[256]; while (1) { start=time(0); sprintf(nbuff,"TEMP%d", rand()); fd=open(nbuff, O_RDWR| O_CREAT |O_SYNC, 0777); write (fd...