Lines Matching refs:path
31 device name (prefix '='), path (prefix '=' and postfix '/') or create a
38 // mknod in /dev based on a path like "/sys/block/hda/hda1"
39 static void make_device(char *path)
47 if (path) {
50 temp = strrchr(path, '/');
51 fd = open(path, O_RDONLY);
60 type = path[5]=='c' ? S_IFCHR : S_IFBLK;
63 // if (!path), do hotplug
72 if (!(path = getenv("DEVPATH"))) return;
76 device_name = strrchr(path, '/') + 1;
105 // Four fields (last is optional): regex, uid:gid, mode [, name|path ]
179 // Try to look for name or path (optional field)
271 // This is path based because the hotplug callbacks are