From 5a45eb2d2c70dc7ea2ff4c7b56ab8dba2780f033 Mon Sep 17 00:00:00 2001 From: Zachary Catlin Date: Fri, 1 Mar 2013 21:34:25 -0500 Subject: libblkid: use correct block size for UDF probe In UDF, Volume Structure Descriptors are always 2048 bytes long (ECMA-167, 3rd ed., §2/9.1), while filesystem sectors are the same size as the sectors of the underlying media (e.g., UDF 2.01 §1.3.2). Before this commit, the block size was estimated from VSD offsets, which gives incorrect answers for non-optical media. Now, the UDF probe uses the device block size by default, falling back to 2048-byte sectors for the case of optical-disk images. Signed-off-by: Zachary Catlin --- AUTHORS | 1 + 1 file changed, 1 insertion(+) (limited to 'AUTHORS') diff --git a/AUTHORS b/AUTHORS index f29f9a3a2..54fe7cec2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -385,5 +385,6 @@ CONTRIBUTORS: Yoshihiro Takahashi Yuri Chornoivan Yu Zhiguo + Zachary Catlin Zdenek Behan Zhi Li -- cgit v1.2.3-55-g7522