Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > c2e605cb8e2a4bbe705cc43012a1cdbb > files > 20

util-linux-ng-2.17.2-10.fc13.src.rpm

From 791a2fd67c118c3f07141e4cc95532fe908015a9 Mon Sep 17 00:00:00 2001
From: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
Date: Mon, 19 Jul 2010 18:04:33 -0500
Subject: [PATCH] libblkid: set tolerant flag for HFS

An CDROM can contain both HFS and ISO9660 views on the same filesystem.
This confuses mount/KDE/Gnome.

Signed-off-by: Karel Zak <kzak@redhat.com>
---
 shlibs/blkid/src/superblocks/hfs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/shlibs/blkid/src/superblocks/hfs.c b/shlibs/blkid/src/superblocks/hfs.c
index 8ebff68..033a65d 100644
--- a/shlibs/blkid/src/superblocks/hfs.c
+++ b/shlibs/blkid/src/superblocks/hfs.c
@@ -291,6 +291,7 @@ const struct blkid_idinfo hfs_idinfo =
 	.name		= "hfs",
 	.usage		= BLKID_USAGE_FILESYSTEM,
 	.probefunc	= probe_hfs,
+	.flags		= BLKID_IDINFO_TOLERANT,
 	.magics		=
 	{
 		{ .magic = "BD", .len = 2, .kboff = 1 },
-- 
1.7.2.3