search for: mknodres

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

Did you mean: mknodes
2008 May 22
2
"Invalid argument" error when moving sockets to backup dir
...failed: Invalid argument (22) The problem appears to be that, at least with sockets, keep_backup() is calling do_mknod() with garbage in the third parameter (dev). When I add some debug output to do_mknod(): printf("mknod pathname=%s, mode=%d, dev=%llu\n", pathname, mode, dev); int mknodres = mknod(pathname, mode, dev); printf("mknod result: %d, errno=%d\n", mknodres, errno); return mknodres; 3.0.2 and 3.0.3pre2 show: mknod pathname=../machine-before-4/var/run/audit_events, mode=49645, dev=89016461384865329 mknod result: -1, errno=22 rsync: mknod "/backup/machine/...