X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=devices%2Fudev-helper.c;fp=devices%2Fudev-helper.c;h=87a7fc19ab431827c15ec1615cd94a23b5b5d113;hb=e8a3e2b1629824cb01c95e2a49b8f31152c0edd2;hp=e3ad7a4fb696f138b2d4ee72a07a3fe2e9c14c8b;hpb=958d77320e2f56420daeafeec8b58eaa95df4e2a;p=petitboot 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++)