#NEWLINE# def on_same_filesystem( path1 , path2 ) : #NEWLINE# #INDENT# 'Returns True if `path` and `path2` reside on the same mount' #NEWLINE# return ( resolve_partition ( path1 ) . mountpoint == resolve_partition ( path2 ) . mountpoint )