summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:44:31 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:44:31 +0000
commitf8fb11297cbc77f58ed83e4901f2cb8c6a38937e (patch)
tree15671428ff5926ea501f1eb675ed4b8eb5b32116
parentc6f8ef2e36f0293a7d33a050681997d8d445a661 (diff)
downloaddrakx-f8fb11297cbc77f58ed83e4901f2cb8c6a38937e.tar
drakx-f8fb11297cbc77f58ed83e4901f2cb8c6a38937e.tar.gz
drakx-f8fb11297cbc77f58ed83e4901f2cb8c6a38937e.tar.bz2
drakx-f8fb11297cbc77f58ed83e4901f2cb8c6a38937e.tar.xz
drakx-f8fb11297cbc77f58ed83e4901f2cb8c6a38937e.zip
do not try to mount /proc/bus/usb
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/probing.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 7954e44a1..e90e41a24 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- do not try to mount /proc/bus/usb
+
1.68
- mount /sys/kernel/debug (needed for new ldetect)
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index d841941b3..5f9983efb 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -429,11 +429,6 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
if (!already_mounted_usbdev) {
already_mounted_usbdev = 1;
- if (mount("none", "/proc/bus/usb", "usbfs", 0, NULL) &&
- mount("none", "/proc/bus/usb", "usbdevfs", 0, NULL)) {
- log_message("USB: couldn't mount /proc/bus/usb");
- goto end_usb_probe;
- }
wait_message("Detecting USB devices.");
sleep(4); /* sucking background work */
my_insmod("usbhid", ANY_DRIVER_TYPE, NULL, 0);