def _same_filesystem(path1, path2):
 return (os.lstat(path1).st_dev == os.lstat(path2).st_dev)

def _same_filesystem ( path1 , path2 ) : return ( os . lstat ( path1 ) . st_dev == os . lstat ( path2 ) . st_dev )
return true if the two paths are in the same gpfs file system .