Lines Matching refs:devno
2 * devno.c - find a particular device by its device number (major/minor)
93 void blkid__scan_dir(char *dirname, dev_t devno, struct dir_list **list,
118 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) {
121 printf("found 0x%llx at %s (%p)\n", (long long)devno,
141 char *blkid_devno_to_devname(dev_t devno)
159 blkid__scan_dir(current->name, devno, &new_list, &devname);
178 printf("blkid: couldn't find devno 0x%04lx\n",
179 (unsigned long) devno));
182 printf("found devno 0x%04llx as %s\n", (long long)devno, devname));
194 dev_t devno;
205 devno = strtoul(argv[1], &tmp, 0);
221 devno = makedev(major, minor);
223 printf("Looking for device 0x%04llx\n", (long long)devno);
224 devname = blkid_devno_to_devname(devno);