[20:50:47] I'm gonna get lunch. when dan_ comes back: (1) remove kprintf. (2) copyout() must use strlen(dat.fc_path.ptr) + 1 instead of MAXPATHLEN, and (3) fix syntax in fcntl.h for the pointers in the fc_path declaration. [20:52:00] that should work fairly well. if we are going to depend on it though we might need to work on vn_fullpath/cache_fullpath to deal with null-mounts better. [20:52:05] oh, actually... there is a better way [20:52:13] since this is a fp, he can use cache_fullpath() directly [20:52:19] that would be better than vn_fullpath() [20:52:53] shoot :-) [20:53:09] in anycase, cache_fullpath() using fp->f_nchandle instead of extracting the vnode. that will take care of nullfs mount locality [20:53:53] so. (1) remove kprintf(). (2) use cache_fullpath() using &fp->f_nchandle instead of vn_fullpath(), (3) Use sltren(dat.fc_path.ptr) + 1 in copyout() instead of MAXPATHLEN. and (3) fix syntax