Lines Matching refs:devno
2 * devno.c - find a particular device by its device number (major/minor)
94 void blkid__scan_dir(const char *dirname, dev_t devno, struct dir_list **list,
119 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) {
122 printf("found 0x%llx at %s (%p)\n", (long long)devno,
142 char *blkid_devno_to_devname(dev_t devno)
160 blkid__scan_dir(current->name, devno, &new_list, &devname);
179 printf("blkid: couldn't find devno 0x%04lx\n",
180 (unsigned long) devno));
183 printf("found devno 0x%04llx as %s\n", (long long)devno, devname));
195 dev_t devno;
206 devno = strtoul(argv[1], &tmp, 0);
222 devno = makedev(major, minor);
224 printf("Looking for device 0x%04llx\n", (long long)devno);
225 devname = blkid_devno_to_devname(devno);