re-implement only_increment by comparing inodes