Long story short: It won't work directly, the Debian kernel is too old. mountall uses pipe2 (http://www.kernel.org/doc/man-pages/online/pages/man2/pipe.2.html) when mounting. Therefore in mountall.c in the function 'spawn' the following line: NIH_ZERO (pipe2 (fds, O_CLOEXEC)); causes an infinite loop since pipe2 is not available in 2.6.26. A newer kernel is required to make this work.
Long story short: It won't work directly, the Debian kernel is too old. mountall uses pipe2 (http:// www.kernel. org/doc/ man-pages/ online/ pages/man2/ pipe.2. html) when mounting. Therefore in mountall.c in the function 'spawn' the following line: NIH_ZERO (pipe2 (fds, O_CLOEXEC)); causes an infinite loop since pipe2 is not available in 2.6.26. A newer kernel is required to make this work.
The non-working syscall hence is pipe2.