Mount the given dev to the given mountpoint by using the given flags

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=log)