Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/blkid/
Ddevname.c277 static dev_t lvm_get_devno(const char *lvm_device) in lvm_get_devno() argument
284 DBG(DEBUG_DEVNAME, printf("opening %s\n", lvm_device)); in lvm_get_devno()
285 if ((lvf = fopen(lvm_device, "r")) == NULL) { in lvm_get_devno()
286 DBG(DEBUG_DEVNAME, printf("%s: (%d) %s\n", lvm_device, errno, in lvm_get_devno()
334 char *lv_name, *lvm_device; in lvm_probe_all() local
340 lvm_device = malloc(vg_len + strlen(vg_name) + in lvm_probe_all()
342 if (!lvm_device) { in lvm_probe_all()
346 sprintf(lvm_device, "%s/%s/LVs/%s", VG_DIR, vg_name, in lvm_probe_all()
348 dev = lvm_get_devno(lvm_device); in lvm_probe_all()
349 sprintf(lvm_device, "%s/%s", vg_name, lv_name); in lvm_probe_all()
[all …]