Re: udev and /sys mounting [was: mounting tmpfs (and sysfs) defaultly in sarge?]
On Mon, 22 Dec 2003 11:41:39 +0900, GOTO Masanori <firstname.lastname@example.org> wrote:
> At Mon, 22 Dec 2003 01:15:13 +0100 (CET),
> Marco d'Itri wrote:
> > In linux.debian.maint.glibc GOTO Masanori <email@example.com> wrote:
> > >I've commited this feature in order to mount both tmpfs and sysfs into
> > >the latest debian glibc cvs just now. Please check it.
> > What about adding this too?
> > if [ ! -f /proc/bus/usb/devices ]; then
> > mount -t usbdevfs none /proc/bus/usb
> > fi
> Interesting. My debian box uses USB + hotplug, and it mounts usbfs
> automatically. I don't know what hotplug is actually doing, but IIRC
> usbdevfs is needed for this kind of hotplugging daemons. Is it worth
> while mounting with /etc/init.d/mountkernfs? Any Comments are
Funnily enough, we've been discussing this on the mailing list for the Eagle
USB ADSL modem... /proc/bus/usb is supposed to be automounted by the USB core
(actually the OHCI, UHCI or EHCI driver IIRC), but isn't always. So some
people don't need to mount /proc/bus/usb if the USB subsystem is loaded,
others do... In any case it doesn't hurt to mount it anyway.
As to its use, it's required by libusb and quite a few kernel- and user-space
drivers and programs, eg. the Eagle USB driver, Gnomad2...