Package: initscripts
Version: 2.86.ds1-56
Severity: minor
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Please consider to not mount /proc/bus/usb any more. It has been
deprecated in favor of /dev/bus/usb long ago, which is much more
flexible, configurable, and coherent to the spirit of /dev.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
 * Do not mount usbfs any more, it was deprecated long ago.
   Applications should all use /dev/bus/usb, which can be managed more
   flexibly (assign permissions with udev, and the like).

--- sysvinit-2.86.ds1/debian/initscripts/etc/init.d/mountkernfs.sh	2008-05-28 18:23:56.000000000 +0200
+++ sysvinit-2.86.ds1.new/debian/initscripts/etc/init.d/mountkernfs.sh	2008-05-28 18:27:12.000000000 +0200
@@ -59,21 +59,6 @@
 		domount tmpfs "" /var/lock varlock -omode=1777,nodev,noexec,nosuid$LOCK_OPT
 		touch /var/lock/.ramfs
 	fi
-
-	#
-	# Mount usbfs/usbdevfs if /proc/bus/usb is present.
-	#
-	# Usbfs/usbdevfs is used for USB related binaries/libraries.
-	# "usbfs" and "usbdevfs" are the exact same filesystem.
-	# "usbdevfs" was renamed to "usbfs" by linux usb developers,
-	# because people sometimes mistook it as a part of devfs. Usbfs
-	# will be superseded by other filesystems (e.g. sysfs), and when
-	# it becomes obsolete the mount action below should be removed.
-	#
-	if [ -d /proc/bus/usb ]
-	then
-		domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid
-	fi
 }
 
 case "$1" in

Attachment: signature.asc
Description: Digital signature

Reply via email to