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

Lennart Poettering lennart at poettering.net
Fri Jan 23 10:17:23 PST 2015


1;3802;0cOn Fri, 23.01.15 13:25, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:

> 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)

THanks. Applied!

> ---
>  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
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list