[systemd-devel] [PATCH] mount-setup: Do not bother with /proc/bus/usb

Cristian Rodríguez crrodriguez at opensuse.org
Fri Jan 23 08:25:30 PST 2015


Current systemd requires kernel >= 3.7 per the README file
but CONFIG_USB_DEVICEFS disappeared from the kernel in
upstream commit fb28d58b72aa9215b26f1d5478462af394a4d253
(kernel 3.5-rc1)
---
 src/core/mount-setup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index 5919f77..521545e 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -120,8 +120,6 @@ static const MountPoint mount_table[] = {
 static const char ignore_paths[] =
         /* SELinux file systems */
         "/sys/fs/selinux\0"
-        /* Legacy kernel file system */
-        "/proc/bus/usb\0"
         /* Container bind mounts */
         "/proc/sys\0"
         "/dev/console\0"
-- 
2.2.2



More information about the systemd-devel mailing list