summaryrefslogtreecommitdiff
blob: 9df3ad41c09a62a81edad51b292567fcd665cd28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From b841e30a98459816dfc49a735d3db4355a88edcd Mon Sep 17 00:00:00 2001
From: David Zeuthen <zeuthen@gmail.com>
Date: Tue, 19 Mar 2013 04:31:40 +0000
Subject: Properly identify firewire devices as non-system devices

This was reported in bug 62077.

https://bugs.freedesktop.org/show_bug.cgi?id=62077

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
---
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
index a1781cf..d619850 100644
--- a/src/udiskslinuxblock.c
+++ b/src/udiskslinuxblock.c
@@ -354,7 +354,7 @@ update_hints (UDisksLinuxBlock  *block,
       connection_bus = udisks_drive_get_connection_bus (drive);
       removable = udisks_drive_get_media_removable (drive);
       if (removable ||
-          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "firewire") == 0) ||
+          (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "ieee1394") == 0) ||
           (g_str_has_prefix (device_file, "/dev/mmcblk") || g_str_has_prefix (device_file, "/dev/mspblk")))
         {
           hint_system = FALSE;
--
cgit v0.9.0.2-2-gbebe