diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-12-12 17:30:21 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-12-12 17:30:21 +0000 |
commit | aff490574cd543b46df07da5316cad7e203b8a52 (patch) | |
tree | 7a4de2bdcff3bc7ec867546992c4477151588f38 /sys-fs/udisks/files | |
parent | Added Prefix keywords (diff) | |
download | historical-aff490574cd543b46df07da5316cad7e203b8a52.tar.gz historical-aff490574cd543b46df07da5316cad7e203b8a52.tar.bz2 historical-aff490574cd543b46df07da5316cad7e203b8a52.zip |
old
Package-Manager: portage-2.2.0_alpha6/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/udisks/files')
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.1-no-floppy.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sys-fs/udisks/files/udisks-1.0.1-no-floppy.patch b/sys-fs/udisks/files/udisks-1.0.1-no-floppy.patch deleted file mode 100644 index 1d69d1cbc89d..000000000000 --- a/sys-fs/udisks/files/udisks-1.0.1-no-floppy.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ca93d4e2d9e7f483b2fde1725da086e2cca44164 Mon Sep 17 00:00:00 2001 -From: Martin Pitt <martin.pitt@ubuntu.com> -Date: Wed, 02 Jun 2010 13:56:07 +0000 -Subject: Fix long hangs on probing nonexistant floppy drives - -A lot of modern machines do not have a floppy drive any more, but still have a -floppy controller somewhere (or at least the BIOS pretends to). Trying to -open(/dev/fd0) on these machines causes long hangs, which lead to long desktop -startup times. - -To fix this, avoid probing floppies for media in update_info(). - -https://launchpad.net/bugs/539515 ---- -diff --git a/src/device.c b/src/device.c -index 763385c..0e87f1d 100644 ---- a/src/device.c -+++ b/src/device.c -@@ -4471,7 +4471,8 @@ update_info (Device *device) - { - media_available = FALSE; - -- if (!g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM")) -+ if (!g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM") && -+ !g_udev_device_get_property_as_boolean (device->priv->d, "ID_DRIVE_FLOPPY")) - { - int fd; - fd = open (device->priv->device_file, O_RDONLY); --- -cgit v0.8.3-6-g21f6 |