/* pi, Thu Aug 23 21:44:46 CEST 2007 quick hack to get unionfs lower/upper information about a file future use: use in find(1) patch */ #include #include #include #include #include #include #include #include #include int main(int argc, char* argv[]) { int i=1; int res; char rp[PATH_MAX]; char lowerfn[PATH_MAX]; char *wdp; struct stat statp; struct stat lowerstatp; struct statfs fs; struct mount *mp; fsid_t fsid; for( ; i