Lines Matching +defs:major +defs:mode
43 int major = 0, minor = 0, type, len, fd, mode = 0660;
49 // Try to read major/minor string, returning if we can't
58 // Determine device type, major and minor
61 sscanf(toybuf, "%u:%u", &major, &minor);
69 sscanf(temp, "%u", &major);
105 // Four fields (last is optional): regex, uid:gid, mode [, name|path ]
167 // mode
171 mode = strtoul(pos, &pos, 8);
173 // The line is bad because mode setting could not be
243 if (mknod(toybuf, mode | type, dev_makedev(major, minor)) &&
260 if (CFG_MDEV_CONF) mode=chown(toybuf, uid, gid);