fn get_device_size(file: &File) -> Result<u64>
Get total size in bytes of the given block or character device.