dev Returns an integer representing the device.
File.stat("testfile").dev "%x" % File.stat("testfile").dev