I have a bug report where cp is passed '-x' but still goes into a different filesystem. Case in question uses 'cp -x /sys /tmp/foobar' and although /sys/kernel/debug is the mountpoint of debugfs cp does go into it. Does /anybody have an explanation for this or at least a hint where to search?
Philipp
