Home | History | Annotate | Download | only in vold

Lines Matching refs:fstab

50     // Collect both fstab and vold volumes
68 struct fstab *fstab;
71 fstab = fs_mgr_read_fstab(android::vold::DefaultFstabPath().c_str());
72 for (int i = 0; i < fstab->num_entries; i++) {
74 if (!strcmp(fstab->recs[i].fs_type, "emmc") ||
75 !strcmp(fstab->recs[i].fs_type, "mtd")) {
79 if (fstab->recs[i].flags & MS_RDONLY) {
82 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) {
85 if (fs_mgr_is_notrim(&fstab->recs[i])) {
92 if (prev_rec && !strcmp(prev_rec->mount_point, fstab->recs[i].mount_point)) {
96 mPaths.push_back(fstab->recs[i].mount_point);
97 prev_rec = &fstab->recs[i];
99 fs_mgr_free_fstab(fstab);