From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 12 Jul 2007 00:35:08 +0000 Subject: Re: udev/ubuntu problem solved Message-Id: <20070712003508.GB8068@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 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/usb/.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 :) 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