Lines Matching refs:mtab
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 any
758 mtab = open('/etc/mtab')
761 fcntl.flock(mtab.fileno(), fcntl.LOCK_EX)
765 mtab.close()
769 mtab.close()