Modify get_disk_attr function according to PR#1780