Searched refs:fstab (Results 1 – 2 of 2) sorted by relevance
38 static struct fstab *fstab = NULL; variable47 fstab = fs_mgr_read_fstab("/etc/recovery.fstab"); in load_volume_table()48 if (!fstab) { in load_volume_table()53 ret = fs_mgr_add_entry(fstab, "/tmp", "ramdisk", "ramdisk"); in load_volume_table()56 fs_mgr_free_fstab(fstab); in load_volume_table()57 fstab = NULL; in load_volume_table()63 for (i = 0; i < fstab->num_entries; ++i) { in load_volume_table()64 Volume* v = &fstab->recs[i]; in load_volume_table()72 return fs_mgr_get_entry_for_mount_point(fstab, path); in volume_for_path()269 if (fstab == NULL) { in setup_install_mounts()[all …]
67 static struct fstab* fstab = NULL; variable114 static struct fstab* read_fstab() { in read_fstab()115 fstab = NULL; in read_fstab()124 fstab = fs_mgr_read_fstab(fstab_path); in read_fstab()125 if (!fstab) { in read_fstab()130 return fstab; in read_fstab()137 for (int i = 0; i < fstab->num_entries; ++i) { in find_block_device()138 struct fstab_rec* v = &fstab->recs[i]; in find_block_device()329 for (int i = 0; i < fstab->num_entries; ++i) { in wipe_misc()330 struct fstab_rec* v = &fstab->recs[i]; in wipe_misc()