/external/fio/lib/ |
mountcheck.c | 9 #define MTAB "/etc/mtab" 13 FILE *mtab; local 17 mtab = setmntent(MTAB, "r"); 18 if (!mtab) 21 while ((mnt = getmntent(mtab)) != NULL) { 30 endmntent(mtab);
|
/external/autotest/client/site_tests/platform_FilePerms/ |
platform_FilePerms.py | 240 def read_mtab(self, mtab_path='/etc/mtab'): 242 Helper function to read the mtab file into a dict 244 @param mtab_path: path to '/etc/mtab' 253 # Save mtab to the results dir to diagnose failures. 313 Check the permissions of a filesystem according to /etc/mtab. 321 mtab = self.read_mtab() 322 if not (filesystem in mtab.keys()): 323 logging.error('Could not find filesystem "%s" in mtab', filesystem) 326 if not ('ro' in mtab[filesystem]['options']): 358 mtabs = ['/var/log/mount_options.log', '/etc/mtab'] [all...] |
/bionic/libc/dns/include/ |
nsswitch.h | 192 ns_mtab *mtab; /* method table */ member in struct:__anon232 193 u_int mtabsize; /* size of mtab */
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
nsswitch.h | 212 ns_mtab *mtab; /* method table */
member in struct:__anon12033 213 u_int mtabsize; /* size of mtab */
|
/external/autotest/client/bin/ |
partition.py | 489 /etc/mtab) 505 # /proc/mounts in this case, try /etc/mtab 506 res = self.get_mountpoint(open_func=open_func, filename='/etc/mtab') 508 # trust /etc/mtab only about / 682 mtab = open('/etc/mtab') 684 fcntl.flock(mtab.fileno(), fcntl.LOCK_EX) 688 mtab.close() 690 mtab.close() 738 We need to lock the mtab file to make sure we don't have an [all...] |
/external/syslinux/extlinux/ |
main.c | 1039 FILE *mtab; local 1043 mtab = setmntent(mtab_file, "r"); 1044 if (!mtab) 1048 while ((mnt = getmntent(mtab))) { 1112 endmntent(mtab); [all...] |
/external/e2fsprogs/misc/ |
e4defrag.c | 210 /* Refer to /etc/mtab */ 211 const char *mtab = MOUNTED; local 222 fp = setmntent(mtab, "r"); 224 perror("Couldn't access /etc/mtab"); 265 /* Refer to /etc/mtab */ 266 const char *mtab = MOUNTED; local 289 fp = setmntent(mtab, "r"); 291 perror("Couldn't access /etc/mtab"); [all...] |
/external/fio/ |
configure | [all...] |