code: def mount(dev, mountpoint, flags='', log=None):
      '''Mount the given dev to the given mountpoint by using the given flags'''
      ensureDirectory(mountpoint)
      systemCall('mount %s %s %s' % (flags, dev, mountpoint),
                 log=logf mount(dev, mountpoint, flags='', log=None):
      '''Mount the given dev to the given mountpoint by using the given flags'''
      ensureDirectory(mountpoint)
      systemCall('mount %s %s %s' % (flags, dev, mountpoint),
                 log=log)
docs: Mount the given dev to the given mountpoint by using the given flags