aboutsummaryrefslogtreecommitdiffstats
path: root/src/kmodule.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-09-22 19:59:02 +0000
committerBill Nottingham <notting@redhat.com>2005-09-22 19:59:02 +0000
commitfb072b8c1cacba318db7fe70f99463e55c617cce (patch)
tree18815ea25f01910c3aa7a9d1d37db6d85decdf10 /src/kmodule.c
parent9367a8f899e76f483fbd390b901e6bb84224952c (diff)
downloadinitscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar
initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.gz
initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.bz2
initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.xz
initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.zip
don't probe for uninteresting devices. speeds things up (floppy probe is slow)
Diffstat (limited to 'src/kmodule.c')
-rw-r--r--src/kmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmodule.c b/src/kmodule.c
index 138c481f..01db7666 100644
--- a/src/kmodule.c
+++ b/src/kmodule.c
@@ -97,7 +97,7 @@ int main(int argc, char **argv)
char *bus = NULL, *class = NULL;
int x, rc, isdaemon = 0;
enum deviceBus probeBus = BUS_UNSPEC & ~BUS_SERIAL;
- enum deviceClass probeClass = CLASS_UNSPEC;
+ enum deviceClass probeClass = CLASS_UNSPEC & ~CLASS_FLOPPY & ~CLASS_HD & ~CLASS_CDROM;
poptContext context;
struct device **devs;
struct poptOption options[] = {