COOK-3167 follow symlinks for devices