Home
last modified time | relevance | path

Searched refs:lvm_device (Results 1 – 1 of 1) sorted by relevance

/external/e2fsprogs/lib/blkid/
Ddevname.c344 static dev_t lvm_get_devno(const char *lvm_device) in lvm_get_devno() argument
351 DBG(DEBUG_DEVNAME, printf("opening %s\n", lvm_device)); in lvm_get_devno()
352 if ((lvf = fopen(lvm_device, "r")) == NULL) { in lvm_get_devno()
353 DBG(DEBUG_DEVNAME, printf("%s: (%d) %s\n", lvm_device, errno, in lvm_get_devno()
401 char *lv_name, *lvm_device; in lvm_probe_all() local
407 lvm_device = malloc(vg_len + strlen(vg_name) + in lvm_probe_all()
409 if (!lvm_device) { in lvm_probe_all()
413 sprintf(lvm_device, "%s/%s/LVs/%s", VG_DIR, vg_name, in lvm_probe_all()
415 dev = lvm_get_devno(lvm_device); in lvm_probe_all()
416 sprintf(lvm_device, "%s/%s", vg_name, lv_name); in lvm_probe_all()
[all …]