From 81a9335244662b041f0f1842b9a76c6a3965b53b Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 6 Oct 2009 20:54:27 +0200 Subject: [PATCH] =?utf8?q?Bug=2024351=20=E2=80=93=20Firewire=20hard=20driv?= =?utf8?q?e=20is=20considered=20system-internal?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Firewire subsystem is called "ieee1394" in current Linux. Now check for both "ieee1394" and "firewire". This fixes firewire drives to not be considered system internal any more. https://bugs.freedesktop.org/show_bug.cgi?id=24351 Signed-off-by: David Zeuthen --- src/devkit-disks-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devkit-disks-device.c b/src/devkit-disks-device.c index 7275887..5af03ce 100644 --- a/src/devkit-disks-device.c +++ b/src/devkit-disks-device.c @@ -1810,7 +1810,7 @@ update_drive_properties_from_sysfs (DevkitDisksDevice *device) break; } - } else if (strcmp (subsystem, "firewire") == 0) { + } else if (strcmp (subsystem, "firewire") == 0 || strcmp (subsystem, "ieee1394") == 0) { /* TODO: krh has promised a speed file in sysfs; theoretically, the speed can * be anything from 100, 200, 400, 800 and 3200. Till then we just hardcode -- 2.7.4