@context.quietfunc
@with_device
def makedirs(path):
 if (path != '/'):
  makedirs(os.path.dirname(path))
 mkdir(path)

@ context . quietfunc @ with_device def makedirs ( path ) : if ( path != '/' ) : makedirs ( os . path . dirname ( path ) ) mkdir ( path )
create a directory and all parent directories on the target device .