2009/7/27 Gary Jennejohn <gary.jennejohn_at_freenet.de>: > On Mon, 27 Jul 2009 12:58:18 +0200 > Olivier SMEDTS <olivier_at_gid0.org> wrote: > >> Is there a way (loader tunable or kernel config) to disable the root >> mount waiting for USB buses and devices and make it behave just like >> in the first days of the new USB stack ? >> >> Thanks ! >> > > No. The routine which registers what to wait for (vfs_mount.c:root_mount_hold()) > is called uncondtionally. Right, I had to comment it :) Index: sys/dev/usb/controller/usb_controller.c =================================================================== --- sys/dev/usb/controller/usb_controller.c (révision 195903) +++ sys/dev/usb/controller/usb_controller.c (copie de travail) _at__at_ -133,7 +133,7 _at__at_ } /* delay vfs_mountroot until the bus is explored */ - bus->bus_roothold = root_mount_hold(device_get_nameunit(dev)); + //bus->bus_roothold = root_mount_hold(device_get_nameunit(dev)); if (usb_post_init_called) { mtx_lock(&Giant); > > --- > Gary Jennejohn > -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier_at_gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."Received on Mon Jul 27 2009 - 16:32:30 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC