rdev Returns an integer representing the device type
File.stat("/dev/disk0s1").rdev File.stat("/dev/tty").rdev