usage of st_dev and st_rdev.