def on_same_filesystem(path1, path2):
    return resolve_partition(path1).mountpoint == \
            resolve_partition(path2).mountpoint
Returns True if `path` and `path2` reside on the same mount
dataset/ETHPy150Open facebook/sparts/sparts/runit.py/on_same_filesystem