def _root(name='', all_roots=False):
 if (_sd_version() >= 219):
  if all_roots:
   return [os.path.join(x, name) for x in ('/var/lib/machines', '/var/lib/container')]
  else:
   return os.path.join('/var/lib/machines', name)
 else:
  ret = os.path.join('/var/lib/container', name)
  if all_roots:
   return [ret]
  else:
   return ret

def _root ( name = '' , all_roots = False ) : if ( _sd_version ( ) >= 219 ) : if all_roots : return [ os . path . join ( x , name ) for x in ( '/var/lib/machines' , '/var/lib/container' ) ] else : return os . path . join ( '/var/lib/machines' , name ) else : ret = os . path . join ( '/var/lib/container' , name ) if all_roots : return [ ret ] else : return ret
return the container root directory .