def get_clean_mount_point_name(node):
    """
    Replace / or \\ with .

    Example:

    .. code-block:: python

        for disk in psutil.disk_partitions():
            print (get_clean_mount_point_name(disk.mountpoint))
    
    :param str node: name of mountpoint

    :returns: new node name
    """
    if '/' in node:
        return 'root' + node.replace('/', '.').rstrip('.')
    elif '\\' in node:
        return node.replace(':\\', '').rstrip('.')
    else:
        return node
