Bug#360165: [Pkg-sysvinit-devel] Bug#360165: initscripts: Don't mount
/proc/bus/usb if it's not necessary
Henrique de Moraes Holschuh
hmh at debian.org
Fri Sep 8 15:01:44 UTC 2006
On Fri, 08 Sep 2006, Petter Reinholdtsen wrote:
> /dev/.udev. Anything else required before disabling the
> /proc/bus/usb/ mounting?
Sure. Nothing in userspace using it. Which is the point I was trying to
make, but apparently failed to do.
libusb is not the only user of usbfs. If the kernel supports it, we *have*
to mount it until we have given all userspace enough time to migrate away
from it.
Unless you are 100% sure libusb is the sole user of usbfs, of course. If
that's true, then we can write the kernel version + udev version + udev
active check required right now.
> Actually, I believe it is enough to add logic in the code to only
> disable it when it make sense, and then leave that code in the scripts
Right now, AFAIK, you can disable it ONLY if the kernel doesn't support it
in the first place.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the Pkg-sysvinit-devel
mailing list