From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 12 Jul 2007 18:37:04 +0000 Subject: Re: udev/ubuntu problem solved Message-Id: <20070712183704.GD22471@kroah.com> List-Id: References: <200707101653.31621.aj@dungeon.inka.de> In-Reply-To: <200707101653.31621.aj@dungeon.inka.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jul 12, 2007 at 05:58:43PM +0100, Scott James Remnant wrote: > On Thu, 2007-07-12 at 09:09 -0700, Greg KH wrote: > > On Thu, Jul 12, 2007 at 09:52:15AM +0100, Scott James Remnant wrote: > > > On Wed, 2007-07-11 at 17:35 -0700, Greg KH wrote: > > > > > > > On Wed, Jul 11, 2007 at 09:34:31AM +0100, Scott James Remnant wrote: > > > > > On Tue, 2007-07-10 at 17:39 +0200, Kay Sievers wrote: > > > > > > > > > > > On 7/10/07, Andreas Jellinghaus wrote: > > > > > > > I finally figured out what is wrong with udev on ubuntu. > > > > > > > > > > > > > > ubuntu mounts usbfs as /proc/bus/us/.usbfs > > > > > > > and has udev create /dev/bus/usb and bind-mounts that as /proc/bus/usb. > > > > > > > > > > > > What are theses guys smoking? That's so sick to bind-mount > > > > > > /dev-directories to /proc! I wouldn't support such a system at all. It > > > > > > is totally broken. > > > > > > > > > > > It works > > > > > > > > > > What we do is mount the usbfs filesystem on /dev/bus/usb/.usbfs, and > > > > > symlink the devices file from that into the parent directory (so > > > > > that /dev/bus/usb/devices exists). > > > > > > > > > > The whole lot is then bind-mounted to /proc/bus/usb; so an application > > > > > using /proc/bus/usb sees the same tree as a fixed one. > > > > > > > > > > We would fix the apps, but unfortunately we don't have the source to > > > > > VMware! > > > > > > > > vmware originally said they would fix their program up to handle this > > > > properly. Unfortunatly, they seem to have forgotten this and do not > > > > seem to be willing to do this, especially when distros do looney things > > > > like this to apease them :) > > > > > > > VMware appears to work on my laptop here, which is running the > > > development version of Ubuntu (which lacks the /proc/bus/usb hack). > > > > Are you using usb devices within the guest operating systems and Ubuntu > > as the host os? > > > Yes Great, then you can disable that bind mount from your init scripts and everyone will be happy :) thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel