Searched refs:lvm_device (Results 1 – 1 of 1) sorted by relevance
/external/e2fsprogs/lib/blkid/ |
D | devname.c | 278 static dev_t lvm_get_devno(const char *lvm_device) in lvm_get_devno() argument 285 DBG(DEBUG_DEVNAME, printf("opening %s\n", lvm_device)); in lvm_get_devno() 286 if ((lvf = fopen(lvm_device, "r")) == NULL) { in lvm_get_devno() 287 DBG(DEBUG_DEVNAME, printf("%s: (%d) %s\n", lvm_device, errno, in lvm_get_devno() 335 char *lv_name, *lvm_device; in lvm_probe_all() local 341 lvm_device = malloc(vg_len + strlen(vg_name) + in lvm_probe_all() 343 if (!lvm_device) { in lvm_probe_all() 347 sprintf(lvm_device, "%s/%s/LVs/%s", VG_DIR, vg_name, in lvm_probe_all() 349 dev = lvm_get_devno(lvm_device); in lvm_probe_all() 350 sprintf(lvm_device, "%s/%s", vg_name, lv_name); in lvm_probe_all() [all …]
|