Lines Matching refs:mountTable
18 FILE *mountTable;
21 mountTable = setmntent(bb_path_mtab_file, "r");
23 if (!mountTable) mountTable = setmntent("/proc/mounts", "r");
24 if (!mountTable) {
29 while ((m = getmntent(mountTable)) != 0) {
39 endmntent(mountTable);
41 mountTable = setmntent(bb_path_mtab_file, "w");
42 if (mountTable) {
46 addmntent(mountTable, &entries[i]);
48 endmntent(mountTable);