summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devices/udev-helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/udev-helper.c b/devices/udev-helper.c
index e3ad7a4..87a7fc1 100644
--- a/devices/udev-helper.c
+++ b/devices/udev-helper.c
@@ -430,7 +430,8 @@ static int is_removable_device(const char *sysfs_path)
static int is_ignored_device(const char *devname)
{
- static const char *ignored_devices[] = { "/dev/ram", NULL };
+ static const char *ignored_devices[] =
+ { "/dev/ram", "/dev/loop", NULL };
const char **dev;
for (dev = ignored_devices; *dev; dev++)
OpenPOWER on IntegriCloud