170140
From b841e30a98459816dfc49a735d3db4355a88edcd Mon Sep 17 00:00:00 2001
170140
From: David Zeuthen <zeuthen@gmail.com>
170140
Date: Tue, 19 Mar 2013 04:31:40 +0000
170140
Subject: Properly identify firewire devices as non-system devices
170140
170140
This was reported in bug 62077.
170140
170140
https://bugs.freedesktop.org/show_bug.cgi?id=62077
170140
170140
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
170140
---
170140
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
170140
index a1781cf..d619850 100644
170140
--- a/src/udiskslinuxblock.c
170140
+++ b/src/udiskslinuxblock.c
170140
@@ -354,7 +354,7 @@ update_hints (UDisksLinuxBlock  *block,
170140
       connection_bus = udisks_drive_get_connection_bus (drive);
170140
       removable = udisks_drive_get_media_removable (drive);
170140
       if (removable ||
170140
-          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "firewire") == 0) ||
170140
+          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "ieee1394") == 0) ||
170140
           (g_str_has_prefix (device_file, "/dev/mmcblk") || g_str_has_prefix (device_file, "/dev/mspblk")))
170140
         {
170140
           hint_system = FALSE;
170140
--
170140
cgit v0.9.0.2-2-gbebe