refactor disk_* examples