[BusyBox] pivot_root on busybox-0.52 and kernels 2.4.x

Matt Kraai kraai at alumni.carnegiemellon.edu
Mon Jul 23 19:20:44 MDT 2001


On Mon, Jul 23, 2001 at 05:06:45PM -0700, Ivan Passos wrote:
> When I try to call pivot_root, I get the following msg:
> 
> To make this application work, you will need to recompile
> with a kernel supporting the pivot_root system call. -Erik
> 
> pivot_root: pivot_root: Function not implemented
> 
> What do I need to enable in the kernel to support the pivot_root 
> system call?? I'm running kernel 2.4.7, but this error happend with 
> kernels 2.4.4 and 2.4.6 as well.
> 
> If you need additional information about my kernel config. file, I can 
> send you my .config file (didn't wanna send it to the list to save BW).
> TIA!

You need to compile against headers which define __NR_pivot_root.
On my system, this is done by <bits/syscall.h>, included from
<sys/syscall.h>, both of which are provided by (GNU) libc6-dev.

Matt





More information about the busybox mailing list