projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
958d773
)
Ignore /dev/loop* devices
author
Jeremy Kerr
<jk@ozlabs.org>
Mon, 7 Jan 2008 10:28:00 +0000
(21:28 +1100)
committer
Jeremy Kerr
<jk@ozlabs.org>
Mon, 7 Jan 2008 10:28:00 +0000
(21:28 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices/udev-helper.c
patch
|
blob
|
history
diff --git
a/devices/udev-helper.c
b/devices/udev-helper.c
index e3ad7a4fb696f138b2d4ee72a07a3fe2e9c14c8b..87a7fc19ab431827c15ec1615cd94a23b5b5d113 100644
(file)
--- 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++)