From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott James Remnant Date: Wed, 11 Jul 2007 08:34:31 +0000 Subject: Re: udev/ubuntu problem solved Message-Id: <1184142871.10213.5.camel@wing-commander> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1519236551==" List-Id: References: <200707101653.31621.aj@dungeon.inka.de> In-Reply-To: <200707101653.31621.aj@dungeon.inka.de> To: linux-hotplug@vger.kernel.org --===============1519236551== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UHWrZYf6g6xJdGKSqFnD" --=-UHWrZYf6g6xJdGKSqFnD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 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! Scott --=20 Scott James Remnant Ubuntu Development Manager scott@ubuntu.com --=-UHWrZYf6g6xJdGKSqFnD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGlJYXSnQiFMl4yK4RAlP/AKCgSXrJJchk/wOPc3ORgphW+FC29gCgqvY8 plfnmg42tlslAJY8zy1GkSU= =mhIe -----END PGP SIGNATURE----- --=-UHWrZYf6g6xJdGKSqFnD-- --===============1519236551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1519236551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1519236551==--