Lines Matching defs:mode
15 * In order: magic ino mode uid gid nlink mtime filesize devmajor devminor
17 * This is the equiavlent of mode -H newc when using GNU CPIO.
31 -p DEST copy-pass mode, copy stdin file list to directory DEST
87 // In passthrough mode, parent stays in original dir and generates archive
112 unsigned size, mode, uid, gid, timestamp;
128 mode = x8u(toybuf+14);
143 if (S_ISDIR(mode)) {
144 if (!test) err = mkdir(name, mode);
145 } else if (S_ISLNK(mode)) {
152 } else if (S_ISREG(mode)) {
153 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode);
178 if (!err) err = fchmod(fd, mode);
183 err = mknod(name, mode, makedev(x8u(toybuf+78), x8u(toybuf+86)));
191 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid()
197 if (fd != -1 && !fstat(fd, &st) && (st.st_mode&S_IFMT) == (mode&S_IFMT))