Lines Matching refs:os
8 import os
9 from os import environ as env
54 needSudo.notRoot = (os.geteuid() != 0)
158 if os.path.samefile(chunks[2], mountPoint):
219 if not os.path.isdir(mountPoint):
238 if not os.path.isdir(mountPoint):
268 fd = os.open(file, os.O_WRONLY | os.O_CREAT)
269 os.lseek(fd, size - 1, os.SEEK_SET)
270 os.write(fd, '\0')
301 size = os.path.getsize(path)
343 size = os.path.getsize(path)