diff options
author | Zachary Catlin <z@zc.is> | 2013-03-01 21:34:25 -0500 |
---|---|---|
committer | Zachary Catlin <z@zc.is> | 2013-03-01 21:54:00 -0500 |
commit | 5a45eb2d2c70dc7ea2ff4c7b56ab8dba2780f033 (patch) | |
tree | 0d8139dee0474bb78f274b964b8e3d3f66c76144 /AUTHORS | |
parent | 6a83f8ecd7d2f39c8f06c3ef0f4be95c2de76bf1 (diff) | |
download | util-linux-5a45eb2d2c70dc7ea2ff4c7b56ab8dba2780f033.tar.gz |
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 <z@zc.is>
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -385,5 +385,6 @@ CONTRIBUTORS: Yoshihiro Takahashi <ytakahashi@miraclelinux.com> Yuri Chornoivan <yurchor@ukr.net> Yu Zhiguo <yuzg@cn.fujitsu.com> + Zachary Catlin <z@zc.is> Zdenek Behan <rain@matfyz.cz> Zhi Li <lizhi1215@gmail.com> |