Revision 149a1f56

View differences:

mininet/util.py
316 316
    if 'cgroups on %s' % cgdir not in mounts:
317 317
        raise Exception( "cgroups not mounted on " + cgdir )
318 318
    if 'cpuset on %s' % csdir not in mounts:
319
        errRun( 'mkdir -p', csdir )
320
        errRun( 'mount -t cgroup -ocpuset cpuset', csdir )
319
        errRun( 'mkdir -p ' + csdir )
320
        errRun( 'mount -t cgroup -ocpuset cpuset ' + csdir )
321 321

  
322 322
def natural( text ):
323 323
    "To sort sanely/alphabetically: sorted( l, key=natural )"

Also available in: Unified diff