diff options
author | Nick Holloway | 2011-04-10 14:35:56 +0200 |
---|---|---|
committer | Karel Zak | 2011-04-12 14:38:53 +0200 |
commit | 20f5be46ec57af3f21913c487000d69fb8857e18 (patch) | |
tree | da03f01031a205e1efeb6b26085c8c74bb0a2002 /tests | |
parent | script: optional timing output file argument added (diff) | |
download | kernel-qcow2-util-linux-20f5be46ec57af3f21913c487000d69fb8857e18.tar.gz kernel-qcow2-util-linux-20f5be46ec57af3f21913c487000d69fb8857e18.tar.xz kernel-qcow2-util-linux-20f5be46ec57af3f21913c487000d69fb8857e18.zip |
libblkid: remove test for non-zero head count in FAT superblock probe.
This change enables the auto-detection of the internal storage on a VTech
Kidizoom camera, which has a zero head count value in the superblock.
Microsoft documentation, "FAT: General Overview of On-Disk Format", states
that the sectors and heads fields are only relevant for media that have
a geometry.
The Linux kernel also does not require a non-zero head count, and can
manually mount the filesystem.
Signed-off-by: Nick Holloway <Nick.Holloway@pyrites.org.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expected/blkid/low-probe-fat16_noheads | 8 | ||||
-rw-r--r-- | tests/ts/blkid/images-fs/fat16_noheads.img.bz2 | bin | 0 -> 336 bytes |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/expected/blkid/low-probe-fat16_noheads b/tests/expected/blkid/low-probe-fat16_noheads new file mode 100644 index 000000000..ba47078d2 --- /dev/null +++ b/tests/expected/blkid/low-probe-fat16_noheads @@ -0,0 +1,8 @@ +ID_FS_LABEL=VTech_1070 +ID_FS_LABEL_ENC=VTech\x201070 +ID_FS_SEC_TYPE=msdos +ID_FS_TYPE=vfat +ID_FS_USAGE=filesystem +ID_FS_UUID=2004-1014 +ID_FS_UUID_ENC=2004-1014 +ID_FS_VERSION=FAT16 diff --git a/tests/ts/blkid/images-fs/fat16_noheads.img.bz2 b/tests/ts/blkid/images-fs/fat16_noheads.img.bz2 Binary files differnew file mode 100644 index 000000000..4d3d26c8c --- /dev/null +++ b/tests/ts/blkid/images-fs/fat16_noheads.img.bz2 |